Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iw_ostream and editting
ejeNetcompany
Hi again
I need some help with iw_ostream and editting.
I have attached a simple presentation.tpl file that shows my setup.
My workflow:
- I fill in my datacapture form (two input areas).
- I then press 'generate' and two files are generated (one container the stuff outside the iw_ostream tags (called outside.html), and one with the stuff inside the tags (called footer.html)).
Everything works fine so far.
- I would then like to 'edit' the generated pages. I find 'outside.html' and press the 'edit' button and the capture form is loaded and everything is fine.
- I then find footer.html (the one created by iw_ostream), and i press 'edit'. This time no datacapture form i loaded.
How can i make 'edit' for footer.html open up the datacapture form that created it?
Find more posts tagged with
Comments
Adam Stoller
You need to add the same EAs that appear on the one file to the other.
iw_ostream does not do this for you, so you have to include code to do it yourself.
In the past (and it's been a while since I've dealt with this), I was able to do it directly within the PT itself - but it requires include iw_perl blocks because you need to call the iwextattr CLT. There's some question about the order in which the files get created and EAs get set; I don't remember for sure but you may be able to do a simple:
iwextattr -l -x
main_file
| iwextattr -s -x
sub_file
The other question is whether you always generate the files from the Edit DCR form, or as part of a workflow. If the latter, you can include the extra processing step (above) as part of an external task - and there's less need to worry about the order of file creation and CLT application.
ejeNetcompany
Thank you, i will look into EA's.