Making changes to the Form element in Root CMS.Page

Ei Dar Li Ko Ko asked on July 19, 2015 18:02

Hi I am developing a page type that will have a form control to add any desired web part to be shown on the page. The coding that I have based is on version 5.5 and this part FormInfo fi.LoadXmlDefinition(weppartarea); is giving error. I noticed that it is because of the API change but after I changed to LoadFromXml but it is giving out without permission. Please do help. Thanks

Recent Answers


Virgil Carroll answered on July 19, 2015 22:19

No True, where is your XML located you are loading this from? Are you loading it from the database? What kind of forms are these? Are they created in the forms module or are these page type forms? A little more info might help us figure it out.

0 votesVote for this answer Mark as a Correct answer

Ei Dar Li Ko Ko answered on July 20, 2015 12:23

Yeh from the database. It is page type forms. I would like to add a form control so that the users could choose what web part they want to appear inside the page.

0 votesVote for this answer Mark as a Correct answer

Virgil Carroll answered on July 20, 2015 16:23

Take a look at the BizForm webpart in the CMS directory (CMS\CMSWebParts\Bizforms). I have extended this control before to add some additional features and even change to use for Page Type forms...might get you in the right direction.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.