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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Is it possible Lookup,...
Power Apps
Answered

Is it possible Lookup, Patch, Gallery in Component

(0) ShareShare
ReportReport
Posted on by 527

Hi

 

Request you suggest for following...........

 

How to get ComboBox Items from SharePoint List in a Component.

How to use Lookup, Gallery and Patch in Component.

 

Thanks & Regards

 

 

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Yes, That's possible. You can use languages like TypeScript, React...

     

    Please review the existing PCF components that our community members created and are available to use. https://pcf.gallery/

    Filter it for PowerApps

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @knsrinath,

    I did a simple demo for you.

    1\ Create a component and create a custom property.

    vqiaqimsft_0-1626933134411.png

    2\ This is my list 'LIST145'.

    vqiaqimsft_1-1626933134413.png

    3\ Set the custom property of component to:

    Table({Title:"A"})

    vqiaqimsft_2-1626933134415.png

    4\ Add a combo box control and set its Items property to:

    Component1.Test

    vqiaqimsft_3-1626933134418.png

    5\ Add this component to screen and set the Test property of the component to:

    LIST145

    vqiaqimsft_4-1626933134422.png

    6\ The result is as follows:

    vqiaqimsft_5-1626933134425.png

    If you want to use the patch function in the component to operate on the data source, unfortunately this is a limitation so far.

    But there is a work around that can achieve a similar effect.

    You could create a Timer control in the screen.

    I did another demo for you.

    1\ Create a component and create a custom property.

    vqiaqimsft_6-1626933134428.png

    2\ Add a button control and set its onseelct property to:

    Set(Var,true)

    vqiaqimsft_7-1626933134431.png

    3\ Set the 'Test2' property to:

    Var

    vqiaqimsft_8-1626933134432.png

    4\ Set the OnReset property to :

    Set(Var,false)

    vqiaqimsft_9-1626933134434.png

    5\ Add a Timer control into screen and set its OnTimerEnd property to:

    If(Component1_1.Test2=true,Patch(LIST145,Defaults(LIST145),{Title:"Test22"}));Reset(Component1_1)

    vqiaqimsft_10-1626933134438.png

    Set other properties:

    vqiaqimsft_11-1626933134441.png

    // The value of the duration property cannot be too small.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard