This content has been marked as final. Show 3 replies
can you send me your process?
On your variable of type Form that contains the SWF file, there is a default Render service that is responsible to render the SWF file. By default, this service point to the readRessource operation which simply reads the SWF from the repository.
What you can do is build you own render process that reads the ressource from the repository (readRessource) and use a SetValue to set the XML. You would have to create an IN variable to pass the xml.
That way the form would be sent to the user already populated.
I double checked with engineering and this cannot be done. I though that creating a custom render service would work, but it wont since it has to return a document variable and we can only change the data of a swf when its in a Form variable. And there is no way to go from Form to document variable because one contains the content and the other one is only a pointer.
You can define default data on the variable settings under Default Data, but this data is essentially hard coded, which is not ideal.
Youre only option at this point is to populate from the formInitData event in the swf form which can call a database or a web service.
Engineering will make that Default Data a variable in a next release of the product which should get you across this problem but nothing to help us now.
Sorry for the confusion.