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

ContentTypeLink definition should work correctly on Name without ID #741

Closed
SubPointSupport opened this issue Nov 25, 2015 · 1 comment
Closed

Comments

@SubPointSupport
Copy link
Contributor

ContentTypeLink definition should support defining only Name property without ID.

Name must be marked as a required prop.

Name is defined - the Name will be used for the lookup of the content type and adding it to the list.
Name and ID is defined - name will be used
Name is empty, ID is defined - there must be an exception.

Name is must have foe successful check if content type exists in the list.
Name should be used to lookup the content type at the site.
If ID is provided, that should be a fall-back to lookup the content type at site if it can't be find by name.

@SubPointSupport
Copy link
Contributor Author

Both properties are required, won't be changed.

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

1 participant