Question
In my most important web, users create topics through a form (very similar to how this Support web works). The result is a topic with a form attached.
Some of my not-so-confident users whish to use the Sandbox web to create their contributions and then move them to the 'finishedTopics' web when they're satisfied with it.
I want to make sure that the form is in place when the topic is moved to the finishedTopics web. I thought I could use the strategy:
- create button in Sandbox home that creates topic, using template
finishedTopics.NewTopicTemplate
-
finishedTopics.NewTopicTemplate adds the form WebForm (i.e. WebForm is in the finishedTopics web!)
Unfortunately in this way, the form is lost on save while the topic is in the Sandbox web.
Then I tried
-
finishedTopics.NewTopicTemplate adds the form finishedTopics.WebForm
- changed the finishedTopics.WebPreferences to match this in the form list
Unfortunately, after topic creation and save in the Sandbox web, and re-editing, this causes errors saying that the form definition is missing...
Does anybody know how to get the desired functionality?
TIA!
Environment
--
JosMaccabiani - 03 Sep 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Not sure if thie works, but you can try to duplicate the form definition in the Sandbox web. Users would create a topic with that form in the Sandbox. Then when ready, move the topic to the desired web. I suspect that the rename fixes the links to the form, which will interfere in your case. This could work if you move the topic on the shell level.
--
PeterThoeny - 04 Sep 2005
before you duplicate the form, did you set the finishedTopics.NewTopicTemplate to be a TWIKIFORM in the
WebPreferences of the Sandbox web? I know I have done this before because I typically put all my template topics into a template web, and then access them form there.
unfortunatly I odn't recall enough about Cairo..
--
SvenDowideit - 04 Sep 2005
Your comments together helped me solve this. For one, just knowing that it's
possible to do something is very valuable (thanks Sven). Peter guided me to the idea of broken links:
My form had form field names consisting of
WikiWords, whose topics resided in the finishedTopics web. After adding the web name to those form field names, it works!
So in short... when all links relating to the form are of the form Web.Topic then topics can be moved between webs. (don't forget the form definition in
WebPreferences!)
--
JosMaccabiani - 04 Sep 2005