How to get the value from the variable which is made by maintain item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2025 07:45 AM
<div ng-class="{'flex-center attachment-height': options.native_mobile == 'true', 'flex-end': options.native_mobile != 'true'}">
<div class="btn-container" ng-if="data.isVisible">
<button class="sn-btn sn-btn-primary" ng-click="c.downloadTemplate()">
Download Template
</button>
</div>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2025 05:21 PM
Why have you cloned the whole widger rather than:
- Using an attachment variable which can present a default attachment
- Used a 'Custom with Label' variable to hold a widget - in your case, the button to click and download the attachment.
Both of these options apply to a single request item, not the entire mechanism that displays all catalog items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2025 02:04 AM
I don't want to download a attachment i am downloading a template which is already attached in the backend.
i just want the values from the variable name asset category which you can see in the image i have attached and the button is the extra part which i have created inside the widget and it is only visible for single reuqest item no issue in that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2025 08:22 AM
I don't understand your update sorry.