Jonathan Stamper

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 58 total)
  • Author
    Posts
  • in reply to: List item record lock #35313
    Jonathan Stamper
    Participant

    Oh, I should have read the directions better. I didn’t set the default to No. Should be fixed now.

    in reply to: ShowMenuForm? #35310
    Jonathan Stamper
    Participant

    This appears to work but I can’t seem to get it to toggle. I’m trying to only make it visible when clicking in multi-lined fields. I’m thinking focus and blur would work but those don’t seem to perform correctly. Click works but continually clicking removes more and more of the form content due to the width and height adjustments.

    in reply to: List item record lock #35308
    Jonathan Stamper
    Participant

    Got it! That makes sense. Thanks for sharing.

    I’m running into a separate issue in that the CheckedOut field will sometimes not switch back to No thus putting items in an infinite “checked out by…” even though no one is in it. Any ideas on what I could do to fix that? I was thinking of just setting the checkedOut = No on save or cancel.

    in reply to: ShowMenuForm? #35302
    Jonathan Stamper
    Participant

    Sorry! I probably should have posted this on the DFFS forum but:

    spjs.dffs.hideFormMenu

    in reply to: List item record lock #35291
    Jonathan Stamper
    Participant

    That is really cool! I didn’t know that existed. Fortunately, I’m not using any workflows at the moment but I’m sure I will have to transition to them in the future with SP Online. What sort of hinderances are you referring when using Flow?

    in reply to: List item record lock #35284
    Jonathan Stamper
    Participant

    Ah, ok I’ll take a look into that thanks for letting me know.

    in reply to: Make a "Copy" button #35271
    Jonathan Stamper
    Participant

    That was it. I needed to change the order of operations between the AC and the Create Copy. Big thanks!!!

    Now I just need to put in a logic for the children and I should be good.

    in reply to: Make a "Copy" button #35256
    Jonathan Stamper
    Participant

    Ah, I see I tried to include it in my dffs_ready() but that means I’d need to shut off all my rules and alerts to correctly do it. That is unless I shouldn’t do it in there.

    in reply to: Make a "Copy" button #35252
    Jonathan Stamper
    Participant

    Oh, the order to which the AC is initiated to when the values are populated would cause that error I’m getting. Ok, I’ll check that out. Many thanks!

    in reply to: Make a "Copy" button #35242
    Jonathan Stamper
    Participant

    Oops, that’s supposed to be a lower case v for the val variable.

    in reply to: Make a "Copy" button #35238
    Jonathan Stamper
    Participant

    I had a chance to try and invoke and I’m getting a “TypeError: Cannot read properties of undefined (reading ‘items’). I’m trying to load in 2 AC fields (one is a multi-field). The error occurs right after executing the spjs.ac.setFieldValue section below:

    
    
    if(GetUrlKeyValue("CreateCopy") === "1"){
        var str = sessionStorage.getItem("SaveAndCreateNewData"), data;
        if(str !== null){
            data = JSON.parse(str);
            jQuery.each(data,function(fin,val){
               If (fin===“field1” || fin===“field2”){
                 spjs.ac.setFieldValue(fin,Val);
               } else {
                 setFieldValue(fin,val);
               }
             });
        }
    in reply to: Make a "Copy" button #35224
    Jonathan Stamper
    Participant

    Ah that’s right I forgot about the invoke functions available from the AC manuals and references. Much appreciated as always!

    in reply to: Make a "Copy" button #35206
    Jonathan Stamper
    Participant

    Oh I get it! The if(GetURLKeyValue…) is outside a function because it’s like my last step for the new form to pick up and copy the data over on. That’s cool.

    Is there a specific way I should render AC fields? It looks like they are coming in but not rendering exactly as they would if a user selects them in.

    in reply to: Make a "Copy" button #35199
    Jonathan Stamper
    Participant

    Got it so instead of using presave just trigger via a function that takes the session storage, opens new form and drops it all in there?

    in reply to: Make a "Copy" button #35185
    Jonathan Stamper
    Participant

    Let’s say I have an edit form of a completed item and I wanted to copy or duplicate that request on to a New Form. Would the same logic above work?

Viewing 15 posts - 1 through 15 (of 58 total)