Forum Replies Created
-
AuthorPosts
-
Yeah, it’s still doing it after trying out other things. I’ve hidden the option from the user to keep it checked out on close so it wouldn’t be that causing the issue. I ended up creating a “CheckOut” data sheet list view only accessible by our team to handle any items checked out that shouldn’t be. That’s the only other thing I can think of at this stage. I tried a workflow in SP Designer (still on on-premise) and that tended to create a lot of conflict errors with users so I turned that off.
-
This reply was modified 3 years, 4 months ago by
Jonathan Stamper.
I’m using the v4.4.5.38 but I just remembered there was a newer version out there.
So it appears that I’m still having issues where at least 1-3 times a day the Checked Out field will not flip back to No when a user submits or cancels out of a list item.
Are there any additional things I can try and/or test out that may assist?
Oh, I should have read the directions better. I didn’t set the default to No. Should be fixed now.
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.
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.
Sorry! I probably should have posted this on the DFFS forum but:
spjs.dffs.hideFormMenu
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?
Ah, ok I’ll take a look into that thanks for letting me know.
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.
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.
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!
Oops, that’s supposed to be a lower case v for the val variable.
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); } }); }
Ah that’s right I forgot about the invoke functions available from the AC manuals and references. Much appreciated as always!
-
This reply was modified 3 years, 4 months ago by
-
AuthorPosts