- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
11-21-2025 05:02 AM - edited 11-21-2025 05:03 AM
In this article, we’ll demonstrate how to create a Data Broker Server Script that retrieves the value of a specific system property by its name. This is particularly useful when building Workspace experiences that require dynamic property values through Data Resources.
Step 1: Define the Data Broker Properties
Add a property to capture the name of the system property you want to retrieve:
This ensures the Data Broker accepts the property name as input.
Step 2: Implement the Server Script
Use the following script in your Data Broker:
Key Points:
- The script queries the
sys_propertiestable. - If the property exists, it returns its display value.
- If not found, it returns a friendly message.
Step 3: Configure in UI Builder
Once the Data Broker is created:
- Navigate to UI Builder.
- Add a Data Resource using your new Data Broker.
- Pass the property name dynamically or statically.
- Bind the returned value to your component.
- 367 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thank you for sharing, Sarah! I followed the step-by-step instructions and it worked!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello,
One recommendation, instead of querying properties table you could use gs.getProperty('') method.
Best Regards,
Jai