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

Ability to run custom code for token values. #30

Open
GreyGhostStudio opened this issue Apr 16, 2020 · 0 comments
Open

Ability to run custom code for token values. #30

GreyGhostStudio opened this issue Apr 16, 2020 · 0 comments

Comments

@GreyGhostStudio
Copy link

GreyGhostStudio commented Apr 16, 2020

Example 1:

Use Case:
Have the template seed a handful of Sitecore items by writing out .yml when the project is created. The .yml need GUID's created for the Sitecore items. VS templates allow for up to 10 GUIDs ($guid1-10$) OOTB but that might be limiting in the future.
https://docs.microsoft.com/en-us/visualstudio/ide/template-parameters?view=vs-2019

Example 2:

Use Case:
At the solution level, we would like to set these values during creation. Passing in a type of "hex" and a length would solve this. The custom class would return the generated value.

Bonus: Ability to hide tokens from the screen with a hidden attribute, but still include in the token array would make the UI much cleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants