CustomJs file in JSlink approch
- This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › General discussion › CustomJs file in JSlink approch
Tagged: Custom js files
i have uploaded my custom js file in SPJS/DFFS/CUSTOM folder.in setup page in customjs tab i gave the file as test.js.but i didnt work.please give sugestion how to add custom js files?
Hi,
I’m sorry, but I accidentally deleted your attachment when trying to open it – can you please add it again?
Alexander
hi Alex,
thanks for the reply.I re-attached the Document which contains the screen shots.
Thanks,
Navya
Thanks, now I see the problem.
The files added to the “/SPJS/DSSF/Custom” folder must be referred in the JSLink setup page – in the Custom JS and CSS files (not in the Custom JS in DFFS backend):

This method will load the code in all forms using the same setup (if you use a site column).
To load a custom js file in ONE DFFS form, look at the help icon above the Custom JS textarea for a link to the $.getScript jQuery method.
Hope this helps,
Alexander