on 07-29-2008 10:30 PM
I am trying to use global properties to define the URL of XML query:
Globals.ImageFilePath&"SomePath/\File.xml"
but it does not like it. If I put the content of the Globals.ImageFilePath it works fine. What is the synatax for that?
I am using the XML query in a transaction within an image creation action block. When I try to define the URL parameter of the XML file as a link, it is not taken on account, and the image created has no data (it is empty). The URL is taken when defined on the Cofigure Object screen, but there I have the same problem to use the global variable parameter.
Any suggestions?
Thanks,
Vlad
Edited by: Vladimir Baltchev on Jul 29, 2008 11:33 PM
Edited by: Vladimir Baltchev on Jul 29, 2008 11:40 PM
Hi Vlad,
It should be like this:
Globals.ImageFilePath&"SomePath/File.xml"
Always use only forward slash for this.
Thanks,
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, guys, It's not it, I put these 2 just for the forum posting, it was missinterpreting //...
The content of the global variable is good, and when I put it as content it works, when I use the global variable it is not working at all. The question is:
Can we use global varables here and if yes, what is the synatx?
As I mentioned in my first posting, yes, I can put the global variable of the link editor for the URL parameter, it evaluates well, but it is not taken on account by the query, and the image generated is empty. Obviously there is a bug here, so I am trying to find a work around to use the global variable on the Configure Object screen, where the parameter URL is taken by the XML query, but on this screen I can not use the global variable. It works only if I put the content of the global variable.
So, does anybody know if we can use global variables on a Configure Object screen, or on the XML query URL field, and if so, what is the syntax to indicate global variable?
Thanks again,
Vlad
OK, thank you, guys. I found the problem. The global variable contained back slashes, it was OK for other action blocks but not for the XML query... It was like that:
servername\sapmnt\ABC\SSS\global\somemorepath\
and the XML query works well just with slashes:
//servername/sapmnt/ABC/SSS/global/somemorepath
So, the answer is closed.
Thanks again,
Vlad
1) Do not use both a forward and a backslash in your URL - only use a forward slash /
2) Make certain that the value of Globals.ImageFilePath has a forward slash at the end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.