How to edit the insert options for existing content using that template?
I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.
I've added an insert option to the __StandardValues
of a template. I expect the content using this template to have the this new insert option but it doesn't.
Is there another step to this?
or do changes to templates not affect those content that have already been created using the template...
templates
add a comment |
I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.
I've added an insert option to the __StandardValues
of a template. I expect the content using this template to have the this new insert option but it doesn't.
Is there another step to this?
or do changes to templates not affect those content that have already been created using the template...
templates
You cannot see templates in insert options as admin or regular content editors?
– Peter Procházka
Nov 26 '18 at 12:44
I'm logged in as admin
– Rick
Nov 26 '18 at 12:44
If you create a new item from this template, does it have the right insert options?
– Dan Sinclair
Nov 26 '18 at 12:55
add a comment |
I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.
I've added an insert option to the __StandardValues
of a template. I expect the content using this template to have the this new insert option but it doesn't.
Is there another step to this?
or do changes to templates not affect those content that have already been created using the template...
templates
I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.
I've added an insert option to the __StandardValues
of a template. I expect the content using this template to have the this new insert option but it doesn't.
Is there another step to this?
or do changes to templates not affect those content that have already been created using the template...
templates
templates
edited Nov 26 '18 at 12:52
Arvind Gehlot
1,270428
1,270428
asked Nov 26 '18 at 12:39
RickRick
1505
1505
You cannot see templates in insert options as admin or regular content editors?
– Peter Procházka
Nov 26 '18 at 12:44
I'm logged in as admin
– Rick
Nov 26 '18 at 12:44
If you create a new item from this template, does it have the right insert options?
– Dan Sinclair
Nov 26 '18 at 12:55
add a comment |
You cannot see templates in insert options as admin or regular content editors?
– Peter Procházka
Nov 26 '18 at 12:44
I'm logged in as admin
– Rick
Nov 26 '18 at 12:44
If you create a new item from this template, does it have the right insert options?
– Dan Sinclair
Nov 26 '18 at 12:55
You cannot see templates in insert options as admin or regular content editors?
– Peter Procházka
Nov 26 '18 at 12:44
You cannot see templates in insert options as admin or regular content editors?
– Peter Procházka
Nov 26 '18 at 12:44
I'm logged in as admin
– Rick
Nov 26 '18 at 12:44
I'm logged in as admin
– Rick
Nov 26 '18 at 12:44
If you create a new item from this template, does it have the right insert options?
– Dan Sinclair
Nov 26 '18 at 12:55
If you create a new item from this template, does it have the right insert options?
– Dan Sinclair
Nov 26 '18 at 12:55
add a comment |
2 Answers
2
active
oldest
votes
This is a normal behavior.
You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.
Please have a look on below picture. You need to press Reset button from Insert Options section.
If you create new items based on the template you will see the changes from Standard Value.
If you want to reset InsertOptions of an item you can do it programatically using:
C# Code:
item.Fields["__Masters"].Reset();
Using Powershell Extension :
Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
1
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
|
show 1 more comment
Reset Insert Options field to standard values
If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values
item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values
item).
To remove the item-specific value and fall back to the standard value, you can use the Reset button:
- In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called
__Masters
) is one.
In the Versions ribbon tab, click the Reset button:
Check the box next to the Insert options field and click the Reset button.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "664"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f15160%2fhow-to-edit-the-insert-options-for-existing-content-using-that-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is a normal behavior.
You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.
Please have a look on below picture. You need to press Reset button from Insert Options section.
If you create new items based on the template you will see the changes from Standard Value.
If you want to reset InsertOptions of an item you can do it programatically using:
C# Code:
item.Fields["__Masters"].Reset();
Using Powershell Extension :
Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
1
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
|
show 1 more comment
This is a normal behavior.
You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.
Please have a look on below picture. You need to press Reset button from Insert Options section.
If you create new items based on the template you will see the changes from Standard Value.
If you want to reset InsertOptions of an item you can do it programatically using:
C# Code:
item.Fields["__Masters"].Reset();
Using Powershell Extension :
Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
1
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
|
show 1 more comment
This is a normal behavior.
You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.
Please have a look on below picture. You need to press Reset button from Insert Options section.
If you create new items based on the template you will see the changes from Standard Value.
If you want to reset InsertOptions of an item you can do it programatically using:
C# Code:
item.Fields["__Masters"].Reset();
Using Powershell Extension :
Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"
This is a normal behavior.
You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.
Please have a look on below picture. You need to press Reset button from Insert Options section.
If you create new items based on the template you will see the changes from Standard Value.
If you want to reset InsertOptions of an item you can do it programatically using:
C# Code:
item.Fields["__Masters"].Reset();
Using Powershell Extension :
Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"
edited Nov 26 '18 at 13:04
answered Nov 26 '18 at 12:47
Vlad IobagiuVlad Iobagiu
12.9k21032
12.9k21032
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
1
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
|
show 1 more comment
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
1
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
Will that apply the change to all items, or will I need to do this manually to each item using the changed template?
– Rick
Nov 26 '18 at 12:49
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
it will apply just to the current item
– Vlad Iobagiu
Nov 26 '18 at 12:51
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?
– Rick
Nov 26 '18 at 12:53
1
1
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Use Sitecore Powershell extension.
– Vlad Iobagiu
Nov 26 '18 at 12:53
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
Ok - I don't have 1000 pages but was just wondering. thanks
– Rick
Nov 26 '18 at 12:54
|
show 1 more comment
Reset Insert Options field to standard values
If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values
item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values
item).
To remove the item-specific value and fall back to the standard value, you can use the Reset button:
- In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called
__Masters
) is one.
In the Versions ribbon tab, click the Reset button:
Check the box next to the Insert options field and click the Reset button.
add a comment |
Reset Insert Options field to standard values
If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values
item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values
item).
To remove the item-specific value and fall back to the standard value, you can use the Reset button:
- In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called
__Masters
) is one.
In the Versions ribbon tab, click the Reset button:
Check the box next to the Insert options field and click the Reset button.
add a comment |
Reset Insert Options field to standard values
If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values
item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values
item).
To remove the item-specific value and fall back to the standard value, you can use the Reset button:
- In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called
__Masters
) is one.
In the Versions ribbon tab, click the Reset button:
Check the box next to the Insert options field and click the Reset button.
Reset Insert Options field to standard values
If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values
item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values
item).
To remove the item-specific value and fall back to the standard value, you can use the Reset button:
- In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called
__Masters
) is one.
In the Versions ribbon tab, click the Reset button:
Check the box next to the Insert options field and click the Reset button.
answered Nov 26 '18 at 12:53
Dan SinclairDan Sinclair
1,518525
1,518525
add a comment |
add a comment |
Thanks for contributing an answer to Sitecore Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f15160%2fhow-to-edit-the-insert-options-for-existing-content-using-that-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You cannot see templates in insert options as admin or regular content editors?
– Peter Procházka
Nov 26 '18 at 12:44
I'm logged in as admin
– Rick
Nov 26 '18 at 12:44
If you create a new item from this template, does it have the right insert options?
– Dan Sinclair
Nov 26 '18 at 12:55