SID-00969: Unable to Add Form to my Test Topic
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
|
| Category: |
CategoryAPI |
Server OS: |
|
Last update: |
14 years ago |
On my company's TWiki I've been trying to create something like the TWiki Installation Table, but for tracking known errors and their workarounds. I've built the main page with the search code so I can filter the table and populate it with the various entries. I've also built a 'new entry' from, including the Template topic for creating each new entry, but within the template I cannot Add Form to get the form I've built into the Template.
I've recreated it here in my sandbox space since I know the Add Form button is present by default. However here when I click Add Form my form is not one of the options.
My test topic is here:
http://twiki.org/cgi-bin/view/Sandbox/KnownErrorTest
My template (that I can't add the form to) is here:
http://twiki.org/cgi-bin/view/Sandbox/KnownErrorTemplate
- I note in my %WEBFORMS% that my form does show up, so why isn't it an option when I click on Add Form?
My form is here:
http://twiki.org/cgi-bin/view/Sandbox/KnownErrorForm
I'm hoping that if I can figure out why the form isn't an option when going to Add Form that might help me figure out what the Add Form button isn't appearing at all on my company's TWiki?
Chris
P.S. Its not clear to me what version we're running as the output of %WIKIVERISON% is $Date: 2010/08/03 07:43:40 $ $Rev: 13046 $
--
ChrisVanDoren - 2010-09-16
Discussion and Answer
Your form needs to be listed in the WEBFORMS setting of the
WebPreferences where the form and template is. I added your name
ChrisVanDoren to the
TWikiCommunityGroup so that you can modify the
WebPreferences here in the Sandbox web on twiki.org. You need to do the same in your TWiki. Ask the admin to put the form in the WEBFORMS setting if you do not have the permission. Alternatively, temporarily define a WEBFORMS setting in your template page.
See also blog
How to Create a TWiki Application and sample application
ContactDB.
--
PeterThoeny - 2010-09-16
Thank you. I knew it was probably something simple, but I've been looking at it for too long.
--
ChrisVanDoren - 2010-09-17
Can you please explain how can I temporarily define a WEBFORMS setting in template page (or in any page)?
--
AlexanderAraratyan - 2011-03-05
Define this temprarily in the template page:
then edit the template page again, [Add Form], select MyOwnForm, save template page, edit template page, and remove the WEBFORMS setting.
--
PeterThoeny - 2011-03-05
Thanks for your reply. But I still cannot make [Add Form] to include my form (
CompilerInfoMapForm) in its list. Can you please look into the settings I did and find out what is wrong:
Here is the template topic where I'm going to add my new form (
CompilerInfoMapForm):
AlexCompilerInfoMap
Here is the form which I'm going to add:
CompilerInfoMapForm
Thank you
--
AlexanderAraratyan - 2011-03-05
I fixed the
CompilerInfoMapForm page with proper table header, now the "Add Form" is visible in
AlexCompilerInfoMap. I recommend to name the template topic to end in *Template to make the purpose of the topic obvious. See also
BlogEntry201009x1 for inspiration.
I also added you to the
TWikiCommunityGroup, you can now edit the
Sandbox.WebPreferences page.
--
PeterThoeny - 2011-03-06
Much thanks!
--
AlexanderAraratyan - 2011-03-06
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.