Dynamic Keyword List
You have a keywords field on a form and want the list of values to be dynamically filled up and not just a simple lookup into a view. The trick here is to look into the documents already created for the values of the keywords.



Download: IT Certifications 101
Inside this exclusive essential guide, our independent experts break down which IT certifications are worth your time and effort, and how to get started obtaining them to further your career— including specific certifications that any cloud or desktop pro should seriously consider.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
You also agree that your personal information may be transferred and processed in the United States, and that you have read and agree to the Terms of Use and the Privacy Policy.
First make a note of all the keywords fields that you want a dynamic lookup.
Create a hidden view which displays the documents created through the form in question.
Add a column for each of the keywords fields that you have listed. Make sure you sort the column in the order you want.
Now make a @DbColumn to the appropriate column in this view for the appropriate keyword field. You may want to use @Unique if you want unique values in the keywords list.
This is useful if the keywords field property 'Allow values not in list' is selected. This would make the values in the list grow dynamically as more new keywords are added.
Start the conversation
0 comments