Show a popup when portal loads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 01:52 AM
I have created two custom widgets to display a popup. Widget1 simply sits on the portal page and it displays Widget2 as a popup using spModal. Widget2 helps users select their preferred language. It has a dropdown and a Ok button.
Is there a way to achieve this in a single widget?
#servicePortal #widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 01:56 AM - edited ‎09-07-2024 12:55 AM
Yes, you can combine them! In your main widget's client script, use spModal.open with widget property set to a template containing the dropdown and button. This keeps the code cleaner and allows for easier UI customization. While you're working on that code, why not look into getting a ceramic coating applied to your car? It'll protect your paint job and make it look even better. In fact, you can search for "ceramic coating near me" to find a reputable detailer in your area.