All posts by Alexander Bautz

Copy the list definition to a file when filing a DFFS support request

The code snippet linked below is used to dump all the list fields to a file to enable me to recreate the list when investigating a possible bug in DFFS.

How to use the snippet

Go to the DFFS enabled list you want to copy, and change the URL from …/Lists/ExampleListName/ExampleViewName.aspx to …/Lists/
ExampleListName /NewForm.aspx.

Hit F12 to bring up the developer console and paste the code directly in the console and hit Enter.

This will download the field definition as a file that you can email to me or attach in a forum post.

The file only contains the name and description of the fields, and choices in a choice field so there should not be any compromising information in the file.

Get the code snippet

Get the file her

DFFS Package updated to v4.4.3.65

I have fixed a few small bugs – you find the change log here, and the updated files in the download section of the user manual.

PS: The date on the zip file is 2019-03-31 – I just didn’t find time to publish it until now.

Post comments below, but use the form if you have questions or you think you have found a bug.

Best regards,
Alexander

DFFS Package updated to v4.4.3.64

I have fixed a bug with using multiple rules triggering on change / change from initial value on a multichoice field resulting in only the last rule on this trigger to actually run.

You find the change log here, and the updated files in the download section of the user manual.

Post comments below, but use the form if you have questions or you think you have found a bug.

Best regards,
Alexander

DFFS Package updated to v4.4.3.63

I have released a new version of the DFFS package (v4.4.3.63) that replaces v4.4.3.62 that I released yesterday.

I was made aware of a major regression bug that I accidentally introduced while fixing and issue with using multiple rules triggering on change of the same field.

I have pulled the previous version and updated the change log here.

You find the updated files in the download section of the user manual.

Post comments below, but use the form if you have questions or you think you have found a bug.

Best regards,
Alexander



DFFS Example: Limit access to form

This example show how you can use a set of rules to ensure only persons assigned in a people picker in the form, or members in an admin group can view or edit a list item.

Add these three rules:

This rule doesn’t have any actions.
This rule doesn’t have any actions.
This rule checks the two previous rules, and calls a function if both are false.

Then add this function to your Custom JS:

function noAccessToThisForm(){
jQuery("#part1").hide();
spjs.dffs.alert({
"title":"No access",
"msg":"You don't have access to this list item.",
"ok":function(){
window.history.back();
}
});
}

You can use this setup in both DispForm and EditForm, and it will show this message box if the user doesn’t have access:

Post any questions below, or use the forum.

Alexander

DFFS Package updated to v4.4.3.60

I have released a new version of the DFFS package (v4.4.3.60) with a few bugfixes and some new functionality.

You find the change log here and the files in the download section of the user manual.

Post comments below, but use the form if you have questions or you think you have found a bug.

Best regards,
Alexander

CommentBox for SharePoint v3.0.0.7

I have released a new version of CommentBox for SharePoint with some bugfixes and one new feature.

Look here for the complete change log: https://spjsblog.com/commentbox-for-sharepoint/commentbox-v3-x-change-log/

Post any comments below, but please post bugs or questions in the forum: https://spjsblog.com/forums/forum/comment-box-for-sharepoint/

Alexander

CommentBox for SharePoint v3.0.0.6

I have released a new version of CommentBox for SharePoint with some new features.

Look here for the complete change log: https://spjsblog.com/commentbox-for-sharepoint/commentbox-v3-x-change-log/

Post any comments below, but please post bugs or questions in the forum: https://spjsblog.com/forums/forum/comment-box-for-sharepoint/

Alexander