Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Automatically create Asset Properties via Microsoft Flow

(0) ShareShare
ReportReport
Posted on by 70

Can anyone assist in a Microsoft Flow that automatically creates the 'Asset Properties' of a customer asset? As there is no default way of forcing all the asset properties into the asset, they have to be added manually which is not the best.

Scenario:

Customer Asset has Category set to a value that which has a Property Template assigned.

Flow:

To automatically create a property log on the asset creation for ALL properties related to the template (even if it's blank) so that there is a template filled in already.

It seems crazy that this isn't default and that you they cannot be added automatically with a default value or something similar.

Ideally I wanted to pull product properties to asset properties, but that seems like a separate branch of the flow that is required once the property log is created.

  • Nya Profile Picture
    29,060 on at
    RE: Automatically create Asset Properties via Microsoft Flow

    Hi Paul,

    If the issue has been solved, it would be appreciated if you could click "Yes" to verify my answer.

    Image

    If there is any further doubt, please do not hesitate to let me know.

  • Suggested answer
    Paul Deemer Profile Picture
    70 on at
    RE: Automatically create Asset Properties via Microsoft Flow

    As always Nya, your Dataverse flow explanations are perfectly explained.

    Also really helps others understand and use the same method for other functions.

  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: Automatically create Asset Properties via Microsoft Flow

    Hi,

    The property can be found according to the Category in the Customer Asset.

     

    The specific operation process is as follows:

     pastedimage1651829957093v4.png

     

    Step1: Determine whether the category has a value; find the content of the Asset Category Template Associations table through the category. Thus, the value of the Property Template is also obtained.

     pastedimage1651829961720v5.png

     pastedimage1651829966390v6.png

    Step2: Then find the content of the Property Template Associations table through the property template. Thereby, the value of property is also obtained.

     pastedimage1651829974376v7.png

     

    Step3: Get the ID of the property and assign it according to the Property Type.

     pastedimage1651829980010v8.png

     pastedimage1651829986458v9.png

    When Property Type is “Number”:

     pastedimage1651829991618v10.png

     

    When Property Type is “String”:

     pastedimage1651829999049v11.png

     

    When Property Type is “Boolean”:

     pastedimage1651830004721v12.png

     

    When Property Type is “Date and Time”:

     pastedimage1651830010760v13.png

     

    The test results are as follows:

     pastedimage1651830046032v15.png

    pastedimage1651830054362v16.png

    pastedimage1651830060820v17.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,206 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans