Ivan Wilson

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • Ivan Wilson
    Participant

    Thanks Alexander. The odd thing we have noticed is that in the top level site collection, users do not need read access to the web for the lists.asmx, but they do need it in a site collection under the /sites/ path. I’m not sure if it is something weird in this environment or root site collections behave differently. I have compared the site collection properties in PowerShell, but they are set up the same.

    in reply to: SPJS-Lookup v1.1.12 not firing Change rules #22636
    Ivan Wilson
    Participant

    Thanks Alexander, works great

    in reply to: SharePoint online require.js #22571
    Ivan Wilson
    Participant

    Thanks Alexander,

    I ended up using SP.SOD.executeOrDelayUntilScriptLoaded and SP.SOD.executeFunc to handle the loading of the custom JS file at runtime. I believe this similar to the require.js functionality

    Ivan

    in reply to: SharePoint online require.js #22134
    Ivan Wilson
    Participant

    I’m experiencing an issue along these lines with jquery-ui.js and third party code in SharePoint Online. I’m including files at the top of the Custom JS tab. Most of the time, everything works, but every now and then the DFFS form throws the error:

    TypeError: jQuery(…) addres is not a function

    Any idea how I can work around this?

    Ivan Wilson
    Participant

    Fixed. It wasn’t any issue with DFFS. It was an issue with permissions to a list that has a lookup to the list that had this issue. The lookup column had enforce relationship behavior – cascading deletes configured.

    in reply to: SPJS-CASC Filter Options #20494
    Ivan Wilson
    Participant

    Hi Alexander, I think there is an issue with the updated code if you use the standard filter criteria. The error appears in line 184 in the call to spjs.casc.init:

    `var c, s, err = false, camlFilter = b.filter.charAt(0) === “<” ? true : false;

    the b variable contains an object, which seems to fail on the b.filter.charAt(0) statement.

    in reply to: SPJS-CASC Filter Options #20481
    Ivan Wilson
    Participant

    Thank you Alexander, that works perfectly.

    in reply to: SPJS-CASC Filter Options #20450
    Ivan Wilson
    Participant

    Unfortunately I need to filter based on the properties of the current user, so I can’t implement as a calculated column.

    I’m trying to use a Jquery statement to remove the option from the DOM, but I’m having problems figuring out where to place this. I’ve tried calling it from a rule that runs when the form is ready or initialized, but in both cases, it seems like the DOM hasn’t been populated with the cascading dropdown values yet. Any suggestions?

    in reply to: Invoke a rule from code #20033
    Ivan Wilson
    Participant

    Thanks Alexander, I thought I had seen that option somewhere, but couldn’t remember where. Would it be worthwhile adding this to the user manual?

    Is there a way to check the last execute status of a rule in code?

    Ivan

    in reply to: Migrating to SP 2016 #19952
    Ivan Wilson
    Participant

    I’ve only used DFFS in SharePoint Online, but one potential issue is if your SharePoint 2013 environment is using classic instead of claims and you have code that reads the username from user fields, you’ll now have to handle the claims portion.

    Chances are your SharePoint 2013 environment is already using claims.

    in reply to: SPJS-CASC Filter Options #19914
    Ivan Wilson
    Participant

    Can you use multiple filter criteria when you call spjs.casc.init? I tried using the following syntax for the filter option, but the operation failed:

    “filter”:[{“filterField”:”Title”,”filterValue”:”testing”,”operator”:”ne”},{“filterField”:”Country”,”filterValue”:”New Zealand”,”operator”:”eq”}]

    Or is there another option for updating the results of this call?

    in reply to: SPJS-CASC Filter Options #19881
    Ivan Wilson
    Participant

    Is there any trick to apply more than one filter for a cascading dropdown, even if it needs to be done when the results have been returned?

    in reply to: Rules not always firing #19751
    Ivan Wilson
    Participant

    I’ve tried both approaches. I found that setting the field using the Set Field Value section in a rule did not trigger the “On Change” rule I set up.

    Setting it using JavaScript seems to work most times, but not every time. Here is the code I’m using. This is called from a rule that files when the form is ready.

    setFieldValue("Manager", _spPageContextInfo.userLoginName);
    in reply to: Query Subfolder #19195
    Ivan Wilson
    Participant

    I’ve been able to use this CAML query to display a specific subfolder in a library in SharePoint Online.

    Ideally I would like to show the contents of this folder expanded by default. How would I automate an onClick event? This would also solve the problem with the rendering of the initial view of the vLookup – the folder name is wrapping onto a second line until you expand it (screenshot attached).

    in reply to: General DFFS enhancement suggestions #18880
    Ivan Wilson
    Participant

    Would it be possible to add functionality to support branching of DFFS? There are deployments where it is not practical to have dev/test/prod environments. We have to develop new functionality in production.

    It would be great if we could “branch” the dffs configuration, make changes, test it, then publish it as the production version. We could use a query string or cookie to indicate whether to use the prod or dev branch when accessing forms or configuring.

    The “enhanced with DFFS” tag could be updated to show which branch you are using and allow you to select a different branch.

    To get extra fancy, this branching may be done at a view, list, web or site collection level. You could also include special branch tags with include files if you want to make them branch specific.

    Obviously, any list configuration changes would affect all branches.

    • This reply was modified 3 years, 3 months ago by Ivan Wilson.
Viewing 15 posts - 1 through 15 (of 21 total)