Reputation: 2911
I am trying to publish some template changes with standard value as part of a package in a different environment. Once installed and published the changes are not showing up. I've reset IIS and manually cleared cache to be sure as well. I basically have to manually add a new field to the template and then apply standard values to it in order for it to show up. Is there a restriction on how to install / publish such changes? Perhaps i need to follow some order such as installing the template, then applying the standard values? Anyway, I realize that there is not a ton of information and that perhaps our sitecore implementation is the problem, but I've been banging my head against it for long enough that it is worth a shot here.
Thanks, Rob
Upvotes: 0
Views: 749
Reputation: 8778
I'm going to assume the answer to techphoria's question is YES. Here's the next step:
Are you sure you're editing the same templates? That is, have you checked that the Sitecore ID of these items are the same? And the __Standard Values item ID is also identical in both environments? In the past, I have inadvertently created two __Standard Values items on a single template by using the package installer.
Further question: did you change any fields shared/versioned flag? If so, there is a known issue with using packages to move those template changes. In short, it won't work... I believe this bug was fixed, but definitely present in 6.2, possibly 6.3.1 even.
More questions... what do you mean by "apply standard values to it"? It sounds like the templates you are updating should already have a __Standard Values item? So exactly what changes are not showing up? You are not seeing the new fields at all? You are not seeing the new fields in standard values? Or you are not seeing the new standard values in items that use the template? Are you SURE that the target item in question hasn't previously had a value saved in the field? Once that happens, it won't get standard values unless you manually reset it... even if you blank out the value.
Upvotes: 1
Reputation: 6890
Does your package include the template itself, in addition to the new fields and standard values? If you've recently added the __Standard values item, the template itself would have been updated as well with the reference to its standard values.
Upvotes: 1