Using manual SharePoint fill-in choice values in your PowerApp

 If you’re using a SharePoint choice field you can set the ‘Allow fill-in choices‘ 

First, you need to make sure the ‘Allow searching‘ option is enabled (which is by Default) on the choice field in your PowerApp by selecting your dropdown control and enabling Allow searching in the Properties pane


With that option enabled, users are able to search the drop-down by entering a value which will search for that specific value. Since your have user input with this option, you can also use this to store that value into your list item. You can achieve this by adding the following function to the Update() property of your DataCard:


If(

    !IsBlank(DataCardValue10.Selected),

    DataCardValue10.Selected,

    If(

        !IsBlank(DataCardValue10.SearchText),

        {

            Value: DataCardValue10.SearchText,

            '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"

        },

        Blank()

    )

)


https://techdailychronicle.com/using-manual-sharepoint-fill-in-choice-values-in-your-powerapp/

Comments

Popular posts from this blog

SharePoint 2016 and 2019 Ports

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”

Clear fields based on drop-down values in PowerApps