Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Create Dependency on two g:ui_reference fields in UI Page

Shusovit Dutta
Tera Contributor

I have a UI page like these. I want to make sure based on the Model category selected, the model value shows up when the lookup is selected from the model field. Below given is the code snippet for these two fields.

ShusovitDutta_0-1718006389334.png

 

 

 
                <label style="margin-top: var(--now-global-space--md,10px); font-size: smaller">${gs.getMessage('Model category')}</label>
                <g:ui_reference name="amanu" id="amanu" table="cmdb_model_category" completer="AJAXTableCompleter" ng-model="mcat"/>
    
            <label style="margin-top: var(--now-global-space--md,10px); font-size: smaller">${gs.getMessage('Model')}</label>
                <g:ui_reference  name="amodel" id="amodel" table="cmdb_hardware_product_model" completer="AJAXTableCompleter" ng-model="amodel"/>
              

 

0 REPLIES 0