Hello,
Not sure what is missing.
1) For this custom app, I associated the folder e.g. ATTACHED using Attachment Library/Folders->Associate folders. I see the entry is inserted into "appdoctype where app='LBLWRHSDTL'"
2) Dragged attachment control to the app using app designer
3) Created a relationship titled "DOCLINKS" where parent=<custom mbo> and child='DOCLINKS' and where=ownertable='LBL_WRHSFEEDDTL' and ownerid=:LBL_WRHSFEEDDTLID
Now when I navigate to the record in the app, it shows the attachment control. However when I try add the file, it does not show the default folder name also when I try to add a file, it does not allow me naming the document and gives error:
The browse function is not supported on this browser. In your browser, enable the property Include local directory path when uploading files to a server option under security settings.
What could be missing?
------------------------------
Pankaj Bhide
Berkeley National Laboratory
------------------------------
Original Message:
Sent: 08-25-2021 16:37
From: Steven Shull
Subject: Setting up attachment for custom app that uses custom MBO
You need to get the records added to the APPDOCTYPE table. This is what associates the folders (DOCTYPES) that are available in the app. You can do this via SQL insert statements or you can expose the actions & dialog (the Attachment Library/Folders->Associate Folders).
You also need to ensure you have a relationship called DOCLINKS on your custom object in Database Configuration.
From there you should be able to drag the attachment control to your application in application designer and it should work.
------------------------------
Steven Shull
IBM
Original Message:
Sent: 08-25-2021 12:28
From: Pankaj Bhide
Subject: Setting up attachment for custom app that uses custom MBO
Hello,
I created a custom app that utilizes a custom MBO. I want to enable attached document feature to that custom app. Can anyone send me link or brief steps to accomplish that?
Thanks
Pankaj
#Administration
------------------------------
Pankaj Bhide
Berkeley National Laboratory
------------------------------