質問

I have a .js file stored on the Site Assets library. Today I updated it (uploaded file of the same Name and replaced the old one).

But the new code seemed not to work. After lot's of debugging and Troubleshooting, I discovered that it was not the code the problem.

I opened the Developer Tools (F12), selected the console tab and from the drop-down menu I selected my .js file which is linked to a library on the page. There I discovered the old code, before updating the file, which I found very weird.

Anyone encountered this before or have any idea why is that?

(I checked already the edit web part Options and the JSLink address is correct and also made sure the correct .js file is on the Site Assets library)

役に立ちましたか?

他のヒント

I had the same issue in my environment. The following DIDN'T work: - Put script in "Style Library" - use (d) tag - CTRL+F5 - InPrivate

The only thing that finally worked --> turn off caching on your network infrastructure devices! When the caching on our NetScaler was turned off --> everything worked like a charm.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top