pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.71k stars 824 forks source link

JSON script column #628

Closed Charlesdbutler closed 1 year ago

Charlesdbutler commented 1 year ago

What I am trying to do is I have a list in SharePoint that has three columns: Title: Text format High Availability: Yes/No choice Non-High Availability: Yes/No choice

When I create a new title and answer if HA or NHA that the answer would equal opening a template list: the two lists are templates that I have created with the names(High Availability/Non-High Availability) and the list when opened would be saved as the title name, i.e. Simpson.

Sample Description (what should it do)

If(High Availability), (open HA template list), (open Non-HA template list)

If title=(new project name) save template list as (title)

I am new at scripts, but can help any way possible. Thank you

Fedes365 commented 1 year ago

@Charlesdbutler "If title=(new project name) save template list as (title)"

I think you would need Power Automate to perform such an action, with particular regard to HTTP REST APIs.

For example: https://sharepains.com/2020/09/08/create-sharepoint-list-power-automate/

or this? https://tomriha.com/create-new-sharepoint-list-from-existing-sp-list-with-power-automate/