Domanda

I'm in the process of developing a few page layouts. I can map certain TextEditor's and RichHTMLEditor's fairly simply - and the concept of the data found in these controls being saved to a field is equally as simple.

But I don't understand where the data from a, potentially, arbitrary amount of wysiwyg editors (for example) being added to a web part zoned is held? Is the answer as simple as 'in the content database' and therefore something developers do not need to concern themselves with?

È stato utile?

Soluzione

If the web parts are added to a web part zone then the answer is really as simple as "'in the content database' and therefore something developers do not need to concern themselves with"!

All the properties of a Content Editor Web Part including the text and things like width/size that you see in the toolpart on the right hand side are :-

  • firstly put in to an XML file (choose the Export option on the web part menu and open the .dwp file in a text editor to see).

  • then stored in the content database.

Really - for what you're doing its all handled automagically.

Altri suggerimenti

Well, it is not quite clear to me what you have asked...

Dynamic Web Parts (placed in Web Part Zones) are stored separately from the page, in content database. Those are XML data about and of a web part. Only XML data are stored in a database.

Static Web Parts (placed the EmbeddedFormField SP Control or Web Zone) are stored as part of a webpage.

Visual Web Part is a Web Part containing child controls stored. The latter are strored in file system of Sharepoint server.

The DLLs are installed on the SP server (bin, GAC).

Update:
The Configure and deploy Web Parts (SharePoint Server 2010) article explains the (pro and contra) of webparts installation into GAC or BIN

Content Editor Web Part (CEWP) is a Web Part like any other.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top