-
Notifications
You must be signed in to change notification settings - Fork 0
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
link generating fixed #31
Conversation
src/Kentico.Xperience.Zapier/Triggers/Handlers/WorkflowHeadlessHandler.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ | ||
internal static PageParameterValues GetWebPageParams(int webPageItemId, int websiteChannelId, string lang) => new() | ||
{ | ||
{ typeof(WebPageLayout), $"{lang}_{webPageItemId}" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use new WebPageUrlIdentifier(lang, webPageItemId).ToString()
to generate parameter for WebPageLayout
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Motivation
Fixes link generation to admin UI
aswell as updates xbk to be able to use IPageLinkGenerator
Checklist