Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > General form to edit both Document types and System tables View modes: 
User avatar
Certified Developer 9
Certified Developer 9
r.zareianfard-gmail - 1/5/2014 9:53:31 AM
   
General form to edit both Document types and System tables
Hi,
Is there any control which support both Document type and system tables edit together?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/5/2014 2:15:43 PM
   
RE:General form to edit both Document types and System tables
System tables can only be edited in CMSSiteManager>Development>System Tables. What type of data are you trying to edit? Or what is your goal?

User avatar
Certified Developer 9
Certified Developer 9
r.zareianfard-gmail - 1/6/2014 6:30:23 AM
   
RE:General form to edit both Document types and System tables
Hi dear,
I'm trying to create a list edit webpart using unigrid and the question subject ...
so I could assign the class type the data will be list automatically and a form for create or update ...
but I want this webpart work with both document types and system tables.
for example if set cms.usersettings I could manage usersettings as when I set a document type class

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/6/2014 7:03:48 AM
   
RE:General form to edit both Document types and System tables
You might look into the UniGrid documentation. You might also look at this KB article.

You can execute this type of behavior simply by defining an XML file for each "view" you want. Each XML file will have the definition for creating the grid and actions performed when something happens within the grid, for instance a click to view an edit form.

User avatar
Certified Developer 9
Certified Developer 9
r.zareianfard-gmail - 1/6/2014 7:12:57 AM
   
RE:General form to edit both Document types and System tables
The problem is not UniGrid I configured it completely but we have to kind of forms CMSForm and DataForm. CMSForm works only with document types and DataForm with objects like system tables.but I need a edit control for both of them which I couldn't find.
I need a general form control

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/6/2014 11:04:51 AM
   
RE:General form to edit both Document types and System tables
Take a look at the actions performed in the Users list or any other list in the CMSDesk or CMSSiteManager that utilize a UniGrid. You'll find most of them redirect to a aspx page that opens in a modal window. You can perform this same type of action and simply use a generic "form" but the end result is the action performed is defined in the XML file for the UniGrid.

I've created a webpart in the Marketplace that does this same type of functionality with custom tables. You might check that out and download the code to see how I populate the form from the grid actions.