cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Srikanth-
Level: Powered On

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

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.
1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps Staff Craig-MSFT
Power Apps Staff

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

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.

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

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

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Srikanth-
Level: Powered On

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

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>
Power Apps Staff Craig-MSFT
Power Apps Staff

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

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.

View solution in original post

Highlighted
Srikanth-
Level: Powered On

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

That sounds good, thanks for consideration.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Users online (4,446)