How to use sp-attachment-button in a table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 09:37 AM
Our team is developing a Record Producer Macro variable that links to a widget. The widget is a table and we want to have the sp-attachment-button appear on every row of the table. We are able to get the button to show up, but nothing happens when the button is clicked. We tried to look up some documentation on how the sp-attachment-button actually works, but couldn't find a whole lot of information. Does anyone know if we can use the ootb sp-attachment-button on our custom table?
Our code for the button looks like this:
<td align="center" aria-label="Attachment" title="Attachment">
<sp-attachment-button></sp-attachment-button>
<span> ${Add Attachment} </span>
</td>
The front-end looks like this:
Any information/advice is appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2020 01:36 AM
Hi yundlu316,
Please refer the below links for the reference:-
https://serviceportal.io/downloads/require-attachments/
Thanks,
Priyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2022 06:39 AM
,
Did you found the solution?