Staging and Global Objects - Thoughts Brenden?

Kelly Shepard asked on May 4, 2016 17:27

Using version 7.0.103. I have been reading many articles from devnet and trying different settings keys, but I can’t seem to keep global objects from appearing in the task list of every site within our Kentico instance. Ideally, I would like the global object that are changed to only be associated with the site that the update took place. Is this possible?

Recent Answers


Brenden Kehren answered on May 4, 2016 22:19

Ha, never had a question directly asking for my opinions! Thank Kelly!

When you say global objects are you referring to objects which are assigned to several sites or no sites at all? You can limit that view by going to Objects and clicking on Website in the tree on the left. But technically if you edit one template and it is assigned to multiple sites, then it should or would show for all sites. Same is true with Page/Document Types. The only way to get around this I know of is to create a unique page/document type or template per site. Not really ideal or how the CMS was supposed to be used but its a workaround.

0 votesVote for this answer Mark as a Correct answer

Kelly Shepard answered on May 4, 2016 22:29

:-) Thought you would like that ;-)

lets say I add a static text webpart to site A. In the staging/task list for Site A it appears...but it also appears in Site B task list and Site C task list. Since it is getting updated when I sync Site A, it would be nice for it to not show up in the list for Site B & C. Or, is something related to the webpart actually updated in relation to the 2 other sites?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 4, 2016 22:34

Ok I see what you're saying now. I don't know why when you update a template it also has a webpart staging task as well. That template detail (webpart configuration info) is part of the template and not stored with the webpart. That might be a good question for Kentico Support to answer. When you look at the details of the webpart task, what does it show? Is there any change on the actual webpart definition within the Site Manager (version history should show this)?

0 votesVote for this answer Mark as a Correct answer

Kelly Shepard answered on May 4, 2016 22:46

https://www.dropbox.com/s/3vfik58oltxs01v/Capture.PNG?dl=0

These are the 2 tasks created for Site A. Site B & C show only the "Update Web part 'Static text'.

Details of the task:

        <Options>;(plain text) h1;Header level 1 h2;Header level 2 h3;Header level 3 p;Paragraph div;Block pre;Preformatted text</Options>
    </settings>
</field>
<field column="EncodeText" fieldcaption="Encode text" visible="true" defaultvalue="false" columntype="boolean" fieldtype="CustomUserControl" allowempty="true" fielddescription="Indicates whether the entered text should be HTML encoded." publicfield="false" spellcheck="false" guid="abc5de63-8c1c-4b97-baaa-e965a434e408" visibility="none">
    <settings>
        <controlname>checkboxcontrol</controlname>
    </settings>
</field>
<field column="ResolveDynamicControls" fieldcaption="Resolve dynamic controls" visible="true" defaultvalue="true" columntype="boolean" fieldtype="CustomUserControl" allowempty="true" fielddescription="Indicates if the code of any inline controls entered into the text such as BizForms, polls, etc. should be resolved." publicfield="false" guid="d709a046-8342-4f42-bf69-c2970e0a9805" visibility="none">
    <settings>
        <controlname>checkboxcontrol</controlname>
    </settings>
</field>

WebPartCategoryID 165

WebPartGUID 656cc355-d616-422c-9d43-6a9fd96c53e1

WebPartLastModified 5/4/2016 2:36:59 PM

WebPartType 0

WebPartLoadGeneration 0

WebPartLastSelection 5/4/2016 2:36:59 PM

WebPartThumbnailGUID ef9d6749-4872-45ad-ac35-4ba878bf5e41

Web part category

Field name

Value

CategoryID 249

CategoryDisplayName All web parts

CategoryName /

CategoryGUID d782b5c3-27f3-45e6-a5cc-86c1944e2c8d

CategoryLastModified 10/23/2009 7:21:21 AM

CategoryPath /

CategoryOrder 1

CategoryLevel 0

CategoryChildCount 53

CategoryWebPartChildCount 0

Field name

Value

CategoryID 165

CategoryDisplayName Text & Images

CategoryParentID 249

CategoryName Text

CategoryGUID 68d8e65b-a01c-49ae-b9b6-7580bbce4b09

CategoryLastModified 3/16/2012 11:36:08 AM

CategoryPath /Text

CategoryOrder 49

CategoryLevel 1

CategoryChildCount 0

CategoryWebPartChildCount 8

And, I don't see version history in the sitemanager/development/webparts for that webpart

0 votesVote for this answer Mark as a Correct answer

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