Add UI button on portal list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 08:51 AM - edited 10-25-2024 12:04 AM
HI
In portal under profile page we are showing list of hardware owned by the logged In user.
In widget using "ng-repeat="item in data.list track by item.sys_id" we display list of hardwares owned by the user. User may have multiple hardwares.
We display warranty data in the list. IF the warranty is expired then we have to include an UI button next to the warranty date.
On clicking the button... user should be navigating to existing catalog request form. Button should be present to all the hardware where warranty is expired.
Looking for suggestion how to check the condition and display the button.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 11:48 PM
Hello @sravanip
Did you try to use the ng-if after the warranty has expired and also you can use the css for that, like if the warranty has expired then you should show the button otherwise hide the button in your widget
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 12:03 AM
Hi Sanjay
How can I retrieve the date field entered from the portal. On clicking the Refresh button user should navigate to catalog request form and retrieved date value has to be entered there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 12:10 AM
Here how to get the warranty date and check if it passed current date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 12:20 AM
Hello @sravanip these buttons are in two different pages or in same page ?