Forum Replies Created
-
AuthorPosts
-
Thank you Alex for the explanation.
I have deployed the solution on the dev tenant and it works.
Looks very nice.
SteoOh, I am sorry then. Do you use Modern DFFS on SharePoint 2019? It does not work for me unfortunately.
Hi Tony, don’t you have to allow in the “Site collection features” / “site features”?
SteoHi Alex,
when uploading the.sppkg to App Catalog, I am getting this error:
Sharepoint 2019.- This reply was modified 2 years, 5 months ago by Steve.
Attachments:
Now I have the data source set as described:
1Level – Provoz
2Level – Brno
3Level – Other|Construction Work
4Level – Under 100|Over 100 and under 500So I had to duplicate it, but for each option I needed I made a new list item:
Provoz – Brno – Other – Under 100
Provoz – Brno – Construction Work – Under 100|Over 100 and under 500The solution described in the second paragraph works.
I think there is no other way, how to do it with no “duplicates”?
Thank you Alex for your advice.
SteoHi,
yes, you were right. As I said, I was trying to do something else all the time than to use the basic functionality of cascading dropdown. For the explanation, I send some pictures, how I figured it out. Thank you so much.I have also understood the description when the vLookup column is type of vLookup.
FieldInternalName/Property – I got it!Steve
Attachments:
March 16, 2022 at 14:32 in reply to: Delete "button" on child item with refresh for document library #35628Hi Alex,
that’s perfect solution for deleting child items in the parent folder, but I’d like to ask you how to delete the parent folder. I’m also sending the attachment where you can see the folder and child item inserted. When I click on “Smazat” it’s asking me if I am aware of deleting the item – I press OK and the child item is deleted.
But, I’d like to delete also the parent folder.
Would you help me with that?
Thank you
SteoAttachments:
Hi,
it is OK. Thank you for your advice.
It’s workingSteo
May 31, 2021 at 07:23 in reply to: Verify from NewForm if the item was added to the list already #33670Thank you, it works like a charm. As I can see, you often use your functions like spjs.dffs.utility – is there any documentation for SPJS-Utility functions and others?
Because some times I need to create an alert with some columns to be displayed for the user and do not know how to use it. And there are more cases in which I’d like to use the documentation.
Thank you,
SteoMay 28, 2021 at 16:23 in reply to: Verify from NewForm if the item was added to the list already #33660One little thing to think about. I’ve already rated the product with the code “123” – then I went to the source list and changed the code to “12345” and I cannot rate because the product was already rated, but under a different “kod”. Is there a way how to get around that?
Thank you.
STEOMay 28, 2021 at 16:17 in reply to: Verify from NewForm if the item was added to the list already #33658Perfect work! I used as a key the column “vyrobek” and it works perfectly. I hope it’s going to be okay. Thank you so much.
function dffs_PreSaveAction() { var searchVal = getFieldValue("vyrobek"); // Change field name to match your field here and in the query below var res = spjs.utility.queryItems({ "listName": _spPageContextInfo.pageListId, "query": "<Where><And><Eq><FieldRef Name='Author' LookupId='TRUE' /><Value Type='Integer'>" + _spPageContextInfo.userId + "</Value></Eq><Eq><FieldRef Name='vyrobek' /><Value Type='Text'>" + searchVal + "</Value></Eq></And></Where>", "viewFields": ["ID"] }); if (res.items.length === -1) { spjs.dffs.alert({ "title": "Chyba v dotazu na výrobky", "msg": res.errorText }); return false; } else { if (res.items.length > 0) { spjs.dffs.alert({ "title": "Tento výrobek jste již hodnotil/a", "msg": "Tento produkt: \"" + searchVal + "\" jste již hodnotil/a." }); return false; } } return true; }
May 28, 2021 at 05:35 in reply to: Verify from NewForm if the item was added to the list already #33652Hi,
Yes, you cannot, as “Alex”, add another 123-Apple if it already exists in the list created by your name.Steo
May 20, 2021 at 12:04 in reply to: on click of save – show alert while preSave is running code? #33584You got it! 🙂
Yes, I was calling the function from a rule set to “form is saved”.
Thank you Alex for your time, I love DFFS more and more for its features that are necessary for some projects we build.Thanks
SteoMay 20, 2021 at 11:52 in reply to: on click of save – show alert while preSave is running code? #33579This rule.
If the name in the data field is changed or filled, it should trigger the function.Steo
Attachments:
May 20, 2021 at 11:46 in reply to: on click of save – show alert while preSave is running code? #33574Here it is, I think my frontEnd version is OK, don’t you think?
See the attachment. I also attach custom code in the Custom JS section in DFFS.
SteoAttachments:
-
AuthorPosts