sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Site Script

Open iancaro opened this issue 7 years ago • 5 comments

Category

  • [x] Question
  • [ ] Typo
  • [ ] Bug
  • [ ] Additional article idea

Hello, I am new to this JSON in SharePoint I am on my pacing of learning them and understanding them. I an article that I am following and was able to follow everything except for one editing the Site Script. Please just point me where I can edit this Site Script. This is the link I am working on. Thanks!

https://github.com/SharePoint/sp-dev-list-formatting/tree/master/view-samples/document-library

Regards, Ian

iancaro avatar Jan 30 '19 02:01 iancaro

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Jan 30 '19 02:01 msft-github-bot

Hi @iancaro, that's actually a view formatting definition and not a Site Script. Here's few resources to get you started.

  • Site Designs and Site Scripts documentation - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
  • Site Designs and Site Script samples - https://github.com/SharePoint/sp-dev-site-scripts

If you were actually referring to column or view formatting (based on the URL you provided), those resources are following.

  • Column formatting - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting
  • View formatting - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-formatting
  • Site Designs and Site Script samples - https://github.com/SharePoint/sp-dev-list-formatting

VesaJuvonen avatar Jan 30 '19 03:01 VesaJuvonen

Hello VesaJuvonen,

Thanks for the reply and information. However, links you provided I know them how. Sorry for my ignorance.

Column formatting - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting - I know how to execute this.

View formatting - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-formatting - I know where to execute this

Site Designs and Site Script samples - https://github.com/SharePoint/sp-dev-list-formatting - I dont know where to execute the site script? After creating new site where I can edit the site script.

Again sorry for my ignorance but I really cant find it.

iancaro avatar Jan 30 '19 04:01 iancaro

Hello, just wanted to know if where I can edit the site scripts. I mean where exactly, can help me to point out where? you given me links I dont see also where to start to see the site script its says running behind back ground when you created new site. Thanks!

iancaro avatar Jan 30 '19 08:01 iancaro

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 25 '20 12:01 msft-github-bot