cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndreasP
Frequent Visitor

Set status to Active / Publish Products

Hello

 

I'm using a Flow to create Products from an excel file into Dynamics Sales.

But they are in draft in Sales, even though I set the Status to Active when I create them.

 

They are set in a hierarchy where everything above them is published already.

 

Any tips?

1 ACCEPTED SOLUTION

Accepted Solutions
ManishJain
Solution Sage
Solution Sage

Hi @AndreasP ,

 

Once a product is created in CRM it needs to be published to be active. Following api call is what I am using to mark it active : 

 

/api/data/v8.2/products(GUID)/Microsoft.Dynamics.CRM.PublishProductHierarchy

 

Also you can use "Perform a bound action" for Products and select same action and provide record id of the product created in previous step.

 

Thanks

View solution in original post

1 REPLY 1
ManishJain
Solution Sage
Solution Sage

Hi @AndreasP ,

 

Once a product is created in CRM it needs to be published to be active. Following api call is what I am using to mark it active : 

 

/api/data/v8.2/products(GUID)/Microsoft.Dynamics.CRM.PublishProductHierarchy

 

Also you can use "Perform a bound action" for Products and select same action and provide record id of the product created in previous step.

 

Thanks

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,846)