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 / Change a Publisher of ...
Power Apps
Answered

Change a Publisher of PCF solution

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

In my company, we have 3 different environments (Dev, preprod, prod) and 1 for organization "psl-dev". I was importing a solution which contains PCF solution from Dev to Preprod and got an Error that the "Publisher prefix new for this control psl.confirmdialogcontrol does not match the prefix "crd7e" for the solution with Id xxx".

The Publisher of the main solution is indeed DefautDevPublisher with crd7e prefix And I chose the Org one with "new" prefix when initializing my PCF. Which is weird is that, in my generated repo, there are 3 publishers.

Wukong_0-1632993723222.png

So I wonder if I can "switch" those publisher to the crd7e one. Do you think it's possible ?

I look at the CLI doc : https://docs.microsoft.com/en-us/powerapps/developer/data-platform/powerapps-cli  and the cmd "pac pcf version" looks like a way to achieve this. But I am not really comfortable with the CLI yet.

If anyone  has a suggestion, glad to hear it. Thank you.

 

I have the same question (0)
  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    The only way to change the publisher is to rebuild the control with a different --publisher-prefix value then delete the copy of the control currently installed in your environment and import the newly built copy.

     

    That said, generally I think most would call it bad practice to use these default prefixes, and instead I would recommend you make a new publisher with a prefix that you can remember and always make your customizations with that prefix. It sounds like you're already a bit too deep into your customization work to change all that, but I suggest you start with a solution publisher and prefix the next time.

  • Wukong Profile Picture
    on at

    Thank you @cchannon,

    I expected this. So I will do so. 

    Regarding Publishers and prefixes, I may consider change the existings or create a new one as you suggest, but I must first consider the impact because There are shared entities between solutions so potential side effects...

  • Forrest Zhang Profile Picture
    12 on at

    Yes, you can customize the prefix each time you deploy the PCF. 

    See below article for details.

    https://www.hellosmart.ca/2024/07/how-to-resolve-publisher-prefix.html

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard