Show Catalog item if the asset state is "In Stock" and Sub State is "available"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 04:53 AM
I want to show to catalog item on portal if the asset state is "In stock" and sub state is "available". Otherwise hide the catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 07:01 AM
If you already know the asset you can use the advanced part of User Criteria.
However if the user choose each time different asset it will be tricky to hide the item, you can use client script to prevent the item submission or show a message that the asset is not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 07:43 AM
Hi ASA5,
Requirement is if the asset is not in stock then catalog item should not be visible to user to select.
eg: I have 20 ThinkPad in stock, catalog item should be visible till the last ThinkPad is in stock, if the state for all the ThinkPad changed to other state then it should not be visible on portal, if new asset added or old asset back to stock then catalog item should be available.