Component Library Update: Delivering Updates to Canvas Apps

Delivering Component Library Updates to Canvas Apps

Question

You create a Component library and add a new component.

Then you create a new canvas app and import the component from the library.

After some time, you update the component and publish a new version.

How will the Component library deliver the update?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answer: D

The Components are reusable blocks that help you develop the Power Apps applications.

Power Apps provides out-of-the-box standard controls (components), like HTML Text, Vertical Gallery, or Edit Form.

If your Power Platform solution requires more than standard controls, Power Apps also provides tools to create and reuse the custom code components.

The best way to store, maintain, and share reusable components is to put them in the Component library.

When you want to add a component to your canvas app, you can easily use the Component library for the component import.

Also, the Component library helps users with the component's updates.

Suppose you update and publish the component in a Component Library.

The next time you open any canvas application that uses the updated component, you will see the library update message (Number 1)

The message does not specify the component or components that are updated.

You can push the Review button (Number 2) to see the update details.

Environ

Power Apps Bal
File Home Insert View Action CBNewApp | Qs | 2 &
C] Newscreeny 88 Theme ~ & Fill v
Fill v= xv White
= | tree view © Component library updates available Pi) See)
Screen1
| Screens Components ‘
Bsa Admin > Properties Advanced
+ P app About > Fill
Background image h
6 » DO Screen Ge Help >
i Image position a
Z label
ie)

BS MenuComponent 1

ih

The Review Update screen provides only the Component library name (Number 1), update date (Number 2), and the version note (Number 3).

33: Power Apps

File Home Insert View Action

CJ New screen v At Theme v a Fill v
Fill Vv = fey White
= Tree view x
Home » Home
Screens Components
Ils rare
| Pp Search Admin 2
+
Tl fea About >
6 ~» O Screent ae Help >
GF Labelt
Eh a Component library updates
j MenuComponent_1 5
i

Changed text formatting once more.

Because the Component library provides minimal information about the component update on the review screen, the update description can be crucial.

The makers can put detailed information in the version note (Number 3) when they save the component update (Number 1) in the Component library (Number 2).

at
2  "“@odata.contex “httos: _ 2229. crm.dynamics.com/api/data/
v9.2/$metadata createdon, culture, customizationlevel, description, isolationmode, major,minor,modifiedon, name, pluginassemblyid, publickeytoken, version, content)",

3 "value": [

A {

5 “@odata.etag": "W/\"1222708\"",

6 “"createdon": "2021-04-22T05:38:22Z",
7 "culture": "neutral",

4 i

9

10
11
12
13
14
15 e 67€b300-607c—41e0-81f3-2edc3a632711",
16 “pub lickeytoken" "q16085de1572831",

ae
18 q
BAALGAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAARAAAQARAAAAfugAAtAnNIbgSTMOhVGhpcyBwcnncnFtTGNhbn5vdCBiZSBydW4gaW4gRESTIG1vZSUUDQOKJAAAAAAAAABORQAATAEDAL/
f#XGAAAAAAAAAAADAAT iALATAAABIAAAAGAAAAAAAA j EAAAAgAAAAQAAAAAAAEAAGAAAAAGAABAAAAAAAAAAGAAAAAAAAAACAAAAAAGAANZCAAAMAY TUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAAGWXAABPAAAAAEAAANGDA

AAAAAAAAAAAAAAAAAAAAAAAAGAAAAWAAAA OMAAAHAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATAAACAAAAAAAAAAAAAAACCAAAEGAAAAAAAAAAAAAACS @ZXh OAAAAXBEAAAAQAAAAEGAAAATAAAAAAAA
BB AAARAAAACARAGAUCOMY (8RAANG DAAAAQAAAAAQAAAAUAAAAAAAAAAAAAAAAAABAAABALN I (HG) DORI AARNAGAAD BAC ABAD GAAROAAAARABARADDADADABAD AAA AAAABARAAAARAARAATONOARAAADN EO ARAR CAAUAT CL ART ONAAATA

All other options are incorrect.

For more information about canvas apps Component libraries, please visit the below URLs:

When you update a component in a Component library, the delivery of the update depends on how the component was imported into the canvas app.

If the component was imported into the canvas app as a managed component, then the update will be automatically delivered to all instances of the component in the canvas app. This is because managed components are always linked to the Component library, so any changes made to the component in the Component library will be reflected in the canvas app.

If the component was imported into the canvas app as an unmanaged component, then the update will not be automatically delivered to instances of the component in the canvas app. This is because unmanaged components are copied into the canvas app, so any changes made to the component in the Component library will not be reflected in the canvas app. To update instances of the component in the canvas app, you will need to manually update the component by importing the new version from the Component library.

In terms of communication, the Component library does not send emails, posts messages inside the canvas app, or post messages about library updates when you open the canvas app. Instead, the Component library posts a message in the Power Apps app browser about the new updates. This message will appear as a notification in the Power Apps app browser, alerting users that a new version of the component is available in the Component library. Users can then choose to import the new version of the component into their canvas app.