Picture Library Issue

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

16 May 2018

Hi,

I have 2 picture library(main and child). When I add item, It doesn't seem. This item seems in main list. I think it is bug.

Code: Select all

var parentID = fd.getSourceID();

if (parentID) {
    fd.field('MalzemeId').control().value(parentID);
}

Screenshot_20.png
Screenshot_20.png (21.43 KiB) Viewed 1798 times
Screenshot_21.png
Screenshot_21.png (6.63 KiB) Viewed 1798 times
Thank you.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

16 May 2018

Dear Sertkaya,
Unfortunately, we will need more information that that - perhaps a video can be recorded? Currently, I do not know which form you use - New or Edit, don't know which list is currently opened, when is the code supposed to run and what it should do, how do you add files, etc.

Need much more information in order to help. Perhaps a video or more screenshots and details can help.
Cheers

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

21 May 2018

I uploaded new document.
1.png
1.png (51.5 KiB) Viewed 1791 times
I uploaded new document in related-item.
2.png
2.png (73.47 KiB) Viewed 1791 times
New document doesn't seem in related-item. It seems in parent table.
3.png
3.png (73.48 KiB) Viewed 1791 times

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

21 May 2018

Everything looks right.
Screenshot_12.png
Screenshot_12.png (19.17 KiB) Viewed 1790 times

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

21 May 2018

Dear Setkaya,
So, it's the same library for both or is it supposed to be different libraries? And you are using Edit Form for this library, correct? Have you added the JavaScript to modify MalzemeId on document upload? Does Related Items control have the correct (the same as in JS) class name? Here's an instruction, just in case - https://spform.com/documentation/related-documents

Finally, you say that you uploaded a document at first, but then there are only documents 67 and 68. If 69 was uploaded while dialog form is open, it should only appear when you close the form, so I am not sure if it's the document you've added to the Related Items.
Cheers

ksertkaya
Posts: 87
Joined: Wed Nov 18, 2015

22 May 2018

I have 2 different libraries but when I uploaded new document in child table, It seems in main table.


Screenshot_28.png
Screenshot_28.png (2.82 KiB) Viewed 1784 times
Screenshot_27.png
Screenshot_27.png (20.25 KiB) Viewed 1784 times

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

22 May 2018

Dear Sertkaya,
Despite all our efforts, we weren't able to replicate the issue on our end. Can you record a video for us, where you add an item and it appears in the main list instead of child list? If you can, start the video with opening the form, please, that's also an important moment here.
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests