Attach a file in Catalog Item as attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 05:36 AM
Hi All,
I want to attach one Excel Sheet as an attachment in one Catalog Item so that whenever form loads the attachment will be visible and any user can download it.
Can anyone let me know how to achieve this?
Thanks,
SNOW@Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2021 12:55 AM
Hi,
You can get the attachment reference, when you upload an attachment it goes to sys_attachment table.
So, you can create a variable or script which ever you are comfortable with by refernecing it to the Attachment table and then adding the conditions as below:
Table Name is sc_cat_item AND Table sysID is your Catalog Item sys_id.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2021 01:33 AM
Hi Sholke,
Thanks for your response. The requirement is the end user should be able to download the attachment (excel, in the catalog item) on selecting particular option .
Could you please advice on this...
Regards,
Deeshma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2021 08:09 AM
Attached it to the catalog item and then put a link in the description field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2023 08:28 PM
First of all, this is extremely simple and does not require any sort of coding or complicated procedures.
In your catalog item, click the attachment icon (clip icon) in form header (where the Save/Update/Try It buttons are shown).
Then upload a file (PDF, Doc, Excel, etc.).
After this scroll down to the Description field of the catalog item.
Click on 'Insert/edit Link'.
- DO NOT enter anything in URL
- Only enter the text to be displayed on the hyperlink
- Then click on the Link list drop down
- You will see your attached file name here, just select it.
- Moment you select your attached file in Link List, you will see that its URL is automatically set in the URL box.
That's all, you have a link to your catalog item's attachment for end users.
For better understanding, check the image that I have attached to this post.
Please mark this post as a solution and also as helpful, if this resolves your issue or query.
Thanks,
Subhadeep Ghosh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 06:26 PM
Thank you subhadeep. We followed & added an Attachment via the Catalog Item, which works - good, but the attachment also appears separately via our portal. Is there a way to hide the attachment itself, from showing in portal? eg,