Quantcast
Channel: SharePoint JavaScripts » All Posts
Browsing index pages (4697 articles)
↧

Reply To: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON

Thanks Alexander, it is working again.

View Article


Reply To: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON

As mentioned the recommended installation method changed 10 years ago – the JSLink functionality is also deprecated from Microsoft back in 2016 so it could break permanently without further notice. I...

View Article


Reply To: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON

So I updated both files, replacing -Direction=” with Description=” in setup.html -a.fieldSchema.Direction with a.fieldSchema.Description in DFFS_JSLink.js When I run setup.html I get: Some content...

View Article

Reply To: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON

Thank you Alexander. Would you please point me to some instructions on the [“reinstall” the config on the loader-field] step in your response?

View Article

Reply To: SyntaxError: Unexpected token ‘o’, “none” is not valid JSON

Hi, I have had many users of old JSLink installations reach out in the last weeks. What Microsoft did to break it was to remove the value in the hidden field property “Direction” – this was where DFFS...

View Article


SyntaxError: Unexpected token ‘o’, “none” is not valid JSON

As of today we started receiving this error message in a popup messagebox when trying to view or add a list item with DFFS forms: SyntaxError: Unexpected token 'o', "none" is not valid JSON After 15...

View Article

Reply To: Rule not firing on Form Load on Edit Form

Checking “No Reversing of this rule” on all the rules appears to fix the Form Load issue. Thanks for the quick response.

View Article

Reply To: Rule not firing on Form Load on Edit Form

Hi, You must turn on debugging on all rules that interacts with any of the fields in question to see what is actually going on. Keep in mind that the way rules work in classic DFFS is that if not...

View Article


Rule not firing on Form Load on Edit Form

I have several rules based on a field called “Status”. Depending on the value it sets certain fields read only and hides elements. It works fine when changing the “Status” field but it is not working...

View Article


Reply To: Cannot delete attachment OnPrem2016

You must run the code while in EditForm and then save the form. If you still cannot remove the attachment I’m not sure how to do it. You might have better luck running a powershell script. Either...

View Article

Image may be NSFW.
Clik here to view.

Reply To: Cannot delete attachment OnPrem2016

Sorry it was my mistake. Now I can get the message as deleted. But when I close the form and reopen the item, the specified document shows up again. Attachments:image-4.png

View Article

Reply To: Cannot delete attachment OnPrem2016

It looks like you haven’t used the correct display name of your list (%20 indicates you copied it from the URL). Alexander

View Article

Image may be NSFW.
Clik here to view.

Reply To: Cannot delete attachment OnPrem2016

This is the outcome while I run the code on console. Attachments:image-3.png

View Article


Reply To: Cannot delete attachment OnPrem2016

Not sure what could cause it, but you can try opening the developer tools in the browser, select the “Console” and then run the attached code – edit the last line under “HOW TO RUN” and change the...

View Article

Image may be NSFW.
Clik here to view.

Reply To: Cannot delete attachment OnPrem2016

Here are the attachments . Attachments:image-2.png

View Article


Reply To: Cannot delete attachment OnPrem2016

These are the item attachments which has the issue. Just that I have another version of the document, I’m trying to remove the previous version. There are no complications on the Attachement title...

View Article

Reply To: Cannot delete attachment OnPrem2016

That one is not related. Do your filename have special (not alpha-numeric) characters? Alexander

View Article


Image may be NSFW.
Clik here to view.

Reply To: Cannot delete attachment OnPrem2016

This is the only error I get while editing the item. And no errors both on the console or on the network tab at the time of deleting the attachment. Attachments:image.png

View Article

Reply To: Cannot delete attachment OnPrem2016

DFFS does not really handle the deleting – it is using the built in SharePoint code to delete the attachments. It is hard to tell what could cause this issue without looking at it, but my guess is...

View Article

Cannot delete attachment OnPrem2016

Hi, I’m not able to delete an attachment from the SharePoint List Item. When I click on the delete, I get a delete confirmation, and when I confirm delete, the item gets deleted on the display form....

View Article
Browsing index pages (4697 articles)


Latest Images