This question about Configuration: Answered

How to create a form that when submitted creates a new wiki page

-- MatthewSuleiman - 07 Nov 2013

What you want is basically done using a form posting directly to the save script. Check out the documentation to understand how to pass the parameters.

You can find a barebone example at CreateTopicWithDataFormSample where you can create new topics and it has a simple search to list them. (you need to be registered to try it).

After you understand how it work, you can make quite interesting things to refine it: complex searches, paramtrized using html forms, add plugins to enhnace the search or the rendering, use FormPlugin to better render the form, use Extensions. DBCacheContrib to speed up queries, etc,etc.

You should check out BugsContrib for an inspiration. The essence of what you want is the same.

-- RafaelAlvarez - 08 Nov 2013

 

Hi,

I have been tasked with creating a CMDB on our company wiki.

CMDB will contain a list of all our harware assets like, servers, printer etc.

I am new to wiki so I am not really sure how to do this. I need some kind of webpage with a form like below:

Type of hardware: (i.e server, printer, monitor etc..)

Model:

Name:

Location:

Hard disk count:

And so on.

When I submit the form it should create a new page with the details strored.

Please can someone help point me in the right direction.

Many thanks,

Matt

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.1.8
Status Answered
Related Topics
Topic revision: r5 - 13 Aug 2015, MichaelDaum - This page was cached on 21 Aug 2017 - 20:43.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License