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

cross over discussions with jslink #4

Open
johnnliu opened this issue Mar 10, 2016 · 3 comments
Open

cross over discussions with jslink #4

johnnliu opened this issue Mar 10, 2016 · 3 comments

Comments

@johnnliu
Copy link
Owner

@avishnyakov

http://sharepoint-community.net/profiles/blogs/5-facts-about-jslink-in-sharepoint-2013-you-might-not-know

test the SOD stuff.

@Danny-Engelman
Copy link

John, if you use the Issues as a personal notebook facility all us Watchers get all your musings as well..

@johnnliu
Copy link
Owner Author

OK! Will keep musings to a minimum. I don't mind if you want to switch to just "not watching"

JSLink syntax is wild, they look like this: “~sitecollection/Style Library/spdevlab/spdevlab.multiple-1.js|~sitecollection/Style Library/spdevlab/spdevlab.multiple-2.js(d)|~sitecollection/Style Library/spdevlab/spdevlab.multiple-3.js(d)”

The (|) denotes multiple script links. The (d) denotes load with SOD and it'll cache-bust as well. I wanted to track this and see if the same works in ScriptLinks. That's what this task is really.

@Danny-Engelman
Copy link

I don't mind, we all learn. There are not enough people doing good Front-End Dev.
FYI SharePoint Online accepts absolute URLs in the JSLink connections; so you can link to CDN files.
So I opened up my HTTPS server to allow CORS and my clients now always run the latest versions of the iCSR JS libraries.
https://icsr.github.io/JSLinkManager.html might be of interest as well; It doesn't do ScriptLinks (yet)

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

No branches or pull requests

2 participants