I've been looking to get all properties and form items from a page.
This is my code, but I can't find anything from those properties or form items.
TreeProvider tree = new TreeProvider();
var document = tree.SelectSingleDocument(1052);
Is there a solution to get the elements from the page?
You can get all properties names from document.ColumnNames property, if you want to get values you can use document["columnName"] collection.
What do you mean when you said form item? Is it a webpart?
Thank you Anton
This works. Form is an extra tab in my pages, where the user/developer can enter their properties.
Accessing form fields would be same as any other. They should have the columnname that you gave them in the backend while creating the form setup.
Please, sign in to be able to submit a new answer.