Reference data driven multi choice

Comments

7 comments

  • Avatar
    Sara Kaplow, Community Manager

    As Nathan suggested, I think what you're looking for is Dependent Reference Data. Then you'd only have to update the Reference Data file, not the entire App (which does not create a new version). 

  • Avatar
    IT Support

    I am aware of how to set up dependent reference data, and we use this in a lot of our apps.

     

    However, I do not believe this will work, as it does not appear possible to specify a reference data source for the multiple choice field.  If it is possible, could you provide step by step instructions, along with screenshots?  Because I can't see any option for it in the app builder.

  • Avatar
    Nathan Holmes

    Sara listed a way to show check boxes / multiple choice options populated by reference data in the comments of this post:

    https://help.gocanvas.com/hc/en-us/community/posts/360013050513-Recurring-items-on-a-check-list

     

  • Avatar
    Sara Kaplow, Community Manager

    As Nathan suggested, you could use the checkboxes backdoor for this (I wasn't sure, so I double checked and it does work with Dependent Reference Data). 

    Here's what that looks like. 

    My Reference Data file: 

    First field is set up as normal, using the Class column. 

    The second field is a drop down using the Type column referencing the choice made in the Class field/column: 

    In the More area, I've entered CHECKBOXES in the Receipt Label field (which tells the dropdown to behave like a check box field): 

    One limitation here is that I think checkbox fields are limited to 15 choices. 

    Here's what that looks like on mobile: 

  • Avatar
    IT Support

    I can confirm that this is working for me as well, so thanks for that.

     

    May I suggest, though, to add this support to the application in a way that does not require (undocumented?) back doors?

    The application is clearly able to build the user interface for it, and it would make the system a lot more user friendly.

  • Avatar
    Sara Kaplow, Community Manager

    Glad it's working. I hear you on wanting this to be part of the product. We've certainly had backdoor codes build out into true features (the mirror field, for example). I'd be interested in seeing if other folks are encountering this same limitation (hopefully they'll upvote!). Thanks!

Please sign in to leave a comment.