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 / PCF-Allow solution nam...
Power Apps
Unanswered

PCF-Allow solution name to set during creation of solution project through power apps CLI

(0) ShareShare
ReportReport
Posted on by 16
During PCF solution project creation using Powerapps CLI, currently we have two options available in init command which are solution publisher name and prefix. The solution name by default taken folder name where the command prompt is being run. It would be better if you allow user to set the solution unique name in pac solution —init command like — solutionName instead of taking the name from the folder.
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @Srikanth- ,

    Could you please share a bit more about scenario?

     

    Thanks for your sharing. If you have any other questions about PowerApps, please feel free to reply here.

     

    Best regards,

  • Srikanth- Profile Picture
    16 on at

    While creating a solution for a component, we execute the following command in the solution folder.

    pac solution init --publisherName <enter your publisher name> --customizationPrefix <enter your publisher name>

    After it ran, the solution got created with name as solution folder name. It's just my suggesstion that if we have an option to set the solution name in the same command, it is more meaningful than considering folder name as solution name.

    Like this

    pac solution init --publisherName <enter your publisher name> --customizationPrefix <enter your publisher name> --solutionName <enter your solution name>
  • Verified answer
    Craig-MSFT Profile Picture
    on at

    Great points, and I agree that we need to enhance this.

     

    Internally, we've been debating adding a --display-name argument to solution init. We would still use the directory name as the unique name but you could optionally provide a richer display name via an argument.

     

    What are your thoughts on this change?

     

    Thanks.

  • Srikanth- Profile Picture
    16 on at

    That sounds good, thanks for consideration.

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard