List collector field reference of country table by selecting china , usa automatically populated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 05:06 AM
Hi All,
I do have scenario when in catalog item there is variable called list collector with country table reference when usa selected puetero Ricco automatically populated.
but i am not able to delete pueteo Ricco i am able to delete either one if requires currently its not performing like that.
below scenarios i have followed can anyone let me know how to delete either one currently its not performing
used created one property where i have added sys_id 's of countries
script include
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 05:32 AM
@sonypaap what is not working ?
What I understand from your code is
1) If you select USA in one field then United State of America and Puerto Rico is getting populated in List collector fields.
2) If you select China in one field then China, Hong Kong SAR and Macao SAR is getting populated in List collector fields.
What are you trying to delete here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 05:41 AM
Hi @SANDEEP28
You select US, then Puerto Rico is added but u can delete one of them from list collector if needed
it is not working correctly right now. If i try to delete Puerto Rico, u can see that it is being added back I don't want that is there any code correction needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 06:01 AM
@sonypaap If onChange client is written on the field where you select USA or china then even if you change anything on the list collector field that script include should not get called.
Check if any client script written on List collector field.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 06:21 AM
Hi @SANDEEP28 other than client script for usa or puerto rico no other client scripts were not written based on that field