Hi Experts,
Good day!
Need your support on setting the DocumentLink - ExternalData property dynamically using Rule, in the Transaction property, without using the Screenset.
I am working on Attachment upload functionality, where file path has to be set dynamically from the Rule, without using Screenset.
While applying the transaction, I am getting the below error - as the External Data property is not set properly which i am selecting from the Rule.
Image may be NSFW.
Clik here to view.
The External data property is set using the Initial value Rule as below, instead choosing the file from screenset.
Image may be NSFW.
Clik here to view.
I have also tried below options but nothing worked.
- Returning the file path directly in the Rule(without using FILE_PATH function)
- Using the conversion functions - FROM_PROPERTY, FROM_STRING
- Using the property function - FILE_PATH_AND_NAME
- Returning the BASE64Encoded file content like
Image may be NSFW.
Clik here to view.
Does anyone has faced similar issues, while trying to set the ExternalData property in background transaction (without using the Screenset)?
Regards
Ela
Further, the initial value rule returns String data type, even though the rule is set for the external data type. The return type of the Rule cannot be modified as well. Is it possible to set a initial value for a Transaction Property of data type "External data" with a file available locally in the device? Message was edited by: Elavarasan Selvam
Message was edited by: Elavarasan Selvam Hi Bill Froelich / Mark Pe, Can you please provide your point of view on this issue? we are trying to set the External Data property of Add Document transaction using Initial Value/Auto Initialize, to attach a document. I have tried using Rule/Using different property etc, but none worked. Our Objective is to add the attachment/document with Transaction screen, just using the file path itself. Please help. PFA the way how external data transaction property was set. Setting External Data property in Transaction.png Setting External Data property in Transaction1.png Kindly let me know, if more information required. Regards Ela