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

SP_Field - New Resource Proposal #1337

Open
kilasuit opened this issue Jul 21, 2021 · 4 comments
Open

SP_Field - New Resource Proposal #1337

kilasuit opened this issue Jul 21, 2021 · 4 comments
Assignees
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. resource proposal The issue is proposing a new resource in the resource module.

Comments

@kilasuit
Copy link

Description

Way to provision Site Columns in sites or webs

Proposed properties

Name
SchemaXml

Special considerations or limitations

@kilasuit
Copy link
Author

Note: Use of SchemaXml and not all other properties that Field objects could take is to reduce the overhead in development and is often used cross on-premises & online with CSOM so should allow developers (or admins) to easily use this where they deem it fit to do so

@ykuijs ykuijs added enhancement The issue is an enhancement request. resource proposal The issue is proposing a new resource in the resource module. labels Jul 24, 2021
@ykuijs
Copy link
Member

ykuijs commented Jul 24, 2021

Usually SharePointDsc focusses on infrastructure components, not content. This because editing content can result in a conflict with user edits (e.g. a user edits the title of a site and your desired state is no longer compliant). This resource is a grey area. I like your idea to also allow managing the Content Type Hub, which is something end users are unable to edit. That is why I think this resource is a valuable one.

@ykuijs ykuijs added the help wanted The issue is up for grabs for anyone in the community. label Jul 24, 2021
@shurick81
Copy link

shurick81 commented Aug 4, 2021

SharePointDsc should focus on providing "SharePoint platform", not some customized platform. By the way, there is another way of controlling lists and fields with declarative code: PnP provisioning templates.

@kilasuit
Copy link
Author

kilasuit commented Aug 5, 2021

To address comments - I totally get that in the majority of cases this seems like a counter intuitive resource to have that could perhaps be better served using other tooling - however there are use cases that I have seen used where this functionality would be incredibly useful and would negate needing to have additional tooling in place, as such I intend to in future raise a PR that implements this.

@ykuijs - If you can assign this to me I will work on implementing this in the next month or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. resource proposal The issue is proposing a new resource in the resource module.
Projects
None yet
Development

No branches or pull requests

3 participants