web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Regarding Data Set Pro...
Power Apps
Answered

Regarding Data Set Property

(0) ShareShare
ReportReport
Posted on by 35

We can define the Data Set Property as bound in the manifest file.

But there seems to be no option to fetch value using Data Set Property.

 

So in order to update the value in a DataSet is webapi the only option?

 

Thanks

  • ScottDurow Profile Picture
    1,039 on at

    Hi @abhilashpmenon1 

    I think you are asking if you can save updated values that you get provided by the dataset column values? I so - there is no supported way to do this in PCF at the moment - so yes, the WebApi is the supported way to do this.
    Hope this helps 

  • abhilashpmenon1 Profile Picture
    35 on at

    Thanks that answers one part of my question.

     

    So I have a grid, in which one column is editable. On change of value in a cell, in that column, I am calling a function. I am getting the changed value. I called the web api in this function. (since framework doesnt support automatic sync).

     

    Do I need to then call notifyOutputChanged() in this function? 

    If yes then what should I write in the getOutputs() function?

     

    Currently my value is updated in the backend. I am using dataset.resfresh to refresh the values in UI.

  • ScottDurow Profile Picture
    1,039 on at

    You don't need to call notifyOutputChanged since you are not using PCF to update the values. If you manage your dataset state locally then you wouldn't need to call refresh either. I've done this in components where I don't want to have to refresh on update.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @abhilashpmenon1 ,

    Do you want to update the property value within your DataSet control directly?

    Is the function that you mentioned a Event Listener function?

     

    Actually, if you use context.webAPI.updateRecord() function to update the record in your Data set control, I think it is not necessary to add the notifyOutputChanged() function in your call function.

    Note: I agree with @ScottDurow 's thought almost, the  context.webAPI is currently the only option to update record in Dataset control.

     

    When you use the context.webAPI.updateRecord() function to update the record in your Data set control, the underlying data source (e.g. CDS Entity) would be updated automatically. The dataset reference you used in your Data set control would also be refreshed/updated.

     

    Once the dataset reference you used in your Data set control has been refreshed/updated, the updateView() function in your index.ts would be executed automatically, then your Data set control would be updated with latest data records from your underlying data source.

     

    Best regards,

  • Verified answer
    abhilashpmenon1 Profile Picture
    35 on at

    Got it. Thanks a lot for the local data set suggestion.

  • abhilashpmenon1 Profile Picture
    35 on at

    Do you want to update the property value within your DataSet control directly? Yes..Is it possible?

    Is the function that you mentioned a Event Listener function? Yes..

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @abhilashpmenon1 ,

    Have you solved your problem?

     

    If the solution @ScottDurow  and I provided above is helpful in your scenario, please consider go ahead to click "Accept as Solution" to identify our reply as helpful.

     

    If you have any other questions about PowerApps, please feel free to contact us in our community.

     

    Best regards,

  • abhilashpmenon1 Profile Picture
    35 on at

    Hello, 

    I already did that. Now I am not seeing the option "Accept as Solution"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard