-
Notifications
You must be signed in to change notification settings - Fork 28
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
Make it possible to replace content items with an unknown ID using recipes (OSOE-648) #199
Labels
Comments
github-actions
bot
changed the title
Make it possible to replace content items with an unknown ID using recipes
Make it possible to replace content items with an unknown ID using recipes (OSOE-648)
Jun 18, 2023
|
Shouldn't this rather be an OC issue? |
Moved to OrchardCMS/OrchardCore#16070. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it's not possible to overwrite a content item with a recipe if its ContentItemId is unknown - for example if it was created from a recipe using
"ContentItemId": "[js: uuid()]"
. We should include some recipe mechanism to get around this. Some ideas:IGlobalMethodProvider
that let's you find the ContentItemId from alias, e.g."ContentItemId": "[js: idFromAlias('main-menu')]"
.I'm not sure if either of these is possible during setup, if the alias index may not be populated yet?
Jira issue
The text was updated successfully, but these errors were encountered: