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)
FormAPI
lcarr
I am trying to get a simple DCT working using a formAPI <script> tag. I have added the following to a working datacapture.cfg:
<script>
<![CDATA[
alert ("Hello, world!");
]]>
</script>
and have
[teamsite_templating]
# use_java_ui=false
enable_formapi=true
in iw.cfg. I also ran iwreset -a, iwreset -ui, and iwreset as this was suggested in other forum postings related to formAPI problems.
The form is displayed, but I do not see the alert box. TeamSite is running on Windows2000 Advanced Server. My IE version is 5.50 with SP2 and Q321232.
Find more posts tagged with
Comments
Migrateduser
Copy/pasted into one of my DCTs, works fine. What v of TS (has to be 5.5.2)?
bw
Bob Walden [bob.walden@interwoven.com]
Interwoven Education Group
IM: Yahoo, MSN bob_walden
lcarr
TeamSite version 5.5.2 build 9275
Migrateduser
Huh. Make sure please your iw.cfg has no spaces on the
enable_formapi=true
line. If that doesn't work, perhaps post the complete dct here for us to look at. First, check the basics: you're sure you're trying to execute the same version of the dct you're editing? Sometimes people edit a DCT in one WA and are running one in another, or forget to upload the DCT from launchpad, etc.
bw
Bob Walden [bob.walden@interwoven.com]
Interwoven Education Group
IM: Yahoo, MSN bob_walden
lcarr
I noticed the "spacing" issue and verified that I have no spaces.
I should mention that I am trying to use formAPI with the datacapture.cfg associated with "Set Metadata" functionality. Perhaps this is not possible and formAPI only works with data type specific DCR creation. Is it possible to make the SetMetadata form dynamic?
Also, I have verified that the popup comes up using a data category specific datacapture.cfg
Migrateduser
Ah. No, to my knowledge the metadata capture form is not capable of using formapi.
bw
Bob Walden [bob.walden@interwoven.com]
Interwoven Education Group
IM: Yahoo, MSN bob_walden