on 04-05-2012 4:05 PM
Hello,
I've been searching for possible solutions to my query but failed.
I have a custom action block which accepts a String and XMLDataType. My question is: How can I pass an input string in my custom action block using this pattern: web://project/folder/file.fileextension? Every time I try to pass this it will only append the value to my user directory. And in return I always get the error: "The filename, directory name, or volume label syntax is incorrect." when running my transaction.
Do I have to use a special data type just like XMLDataType for MII to know that I am passing a URL/file path and not a String input?
PS:
I noticed that the action block Image Loader has a SourceURL input parameter and it accepts a Web URL and/or a file-based URL. This is the same behaviour that I would like to achieve with my custom action block.
I think the SourceURL input parameter is just a String. Some classes in the com.sap.xmii.xacute.actions.file package might help. DBFileUtils and DBFileActionHandler in particular look like they may have some useful methods.
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.