Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install-UpdatePackage "Update" parameter does not update _Standard values #18

Open
Riteshk21 opened this issue Jun 5, 2019 · 1 comment
Milestone

Comments

@Riteshk21
Copy link

Hello,

We have used the below command to install TDS items, however we noticed our _Standard values are not getting deployed.
Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Update

The below was the message appearing in the TDS log:
WARN:Field: '[s]Header Description Text[/s]' ([s]{A3253692-ED0F-4931-B9CA-0AE10803D866}[/s])
Item path: '[s]/sitecore/templates/abc/Base/UI/Shared/xyz/__Standard Values[/s]'
Item ID: '[s]{729901BF-551F-4330-A125-A83B57A7B595}[/s]'
Language: '[s]en[/s]'
Version: '[s]1[/s]'
The field has been modified from '[s][/s]' to '[s]Description Here.[/s]'.
The field value will not be changed.

We were able to get it work if it manually install the TDS through the update installation wizard.

Moreover we were able to get it work if we change the parameter from Update to Install.
Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Install

Hence just wanted to understand the difference between the two parameters as well as the impact of changing it.

Thanks
Ritesh

@michaellwest
Copy link
Member

Thank you for your interest in the module. The commands in SPE are generally a light wrapper around the Sitecore API.

I'm not sure on why the behavior is different, but if you do find out I'm interested in learning more about it.

If you have some thoughts on how to improve the book feel free to submit a pull request.

@michaellwest michaellwest added this to the User Support milestone Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants