Creating a Static List for Single Select in Visual Builder
I often need to create a static list of values when demonstrating a Service extension. You might also want to use a single select option without a service data provider.
I've used the JET cookbook for inspiration to create a static list in my VB extension. Here's how I did it:
- In VB Studio, add the single select to your extension. This can be a field template or a simple use of the component.
- Go to the Type section and make a new object type.
- Next, go to the Variables tab. Create a new Array type variable. Set this variable's default value to your static list.
Tagged:
0