1 Reply Latest reply: Apr 5, 2012 6:32 PM by Christian Libich RSS

Custom Action Block - How to pass URL as Input

Lea Vogt
Currently Being Moderated

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.

Actions