Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to set dcr attribute on Data Capture Form?
1111111
I went to set some attribute to dcr file when user click "save" button on Data Capture Form. How can i do this?
Thanks
Find more posts tagged with
Comments
abhishek_gupta
On click on save formapi code can be written. Now you need to get the dcr name and set the extended attributes via iwextattr command. You can also execute the iwextattr command in the tpl, which would be executed when the user generates the file.
1111111
HI Thanks. I can get or set dcr name use formapi, but how can i execute iwextattr command use formapi?
crosstab_by_day.zip
abhishek_gupta
See if you can call an exe iwextattr in JavaScript. Otherwise have a hidden item in the DCT which calls an inline perl. Invoke iwextattr from the perl and in formapi get the value of this item.
JonathonG
Take a look at the callServer method in your FormAPI docs.
See
http://YourTSServer/iw/help/tst/formapi/formapi_21.html#SEC21
and
http://YourTSServer/iw/help/tst/formapi/formapi_28.html#SEC28
Jonathon
Independent Interwoven Contractor