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
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.
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.
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.
Please, sign in to be able to submit a new answer.