cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShalabhGupta
Advocate I
Advocate I

Getting Manifest validation error with new CLI update

Hi All,

 

I recently performed an update on Power Apps CLI to get the latest version using "pac install latest". This brings me to the current version: Microsoft.PowerApps.CLI.1.3.1

 

With an existing working component, when I tried to run the script build again this time, post the update using either of the following commands "npm run build / npm run-script build", I've started getting the following error:

 

[pcf-1014] [Error] Manifest validation error: instance.manifest.control[0].type-group[0].type[1] is not one of enum values: Whole.None,TwoOptions,DateAndTime.DateOnly,DateAndTime.DateAndTime,Decimal,Enum,FP,Multiple,Currency,OptionSet,SingleLine.Email,SingleLine.Text,SingleLine.TextArea,SingleLine.URL,SingleLine.Ticker,SingleLine.Phone,Object

 

My Control Manifest file looks like this (unchanged from a working earlier version):

 

 

 

 

<?xml version="1.0" encoding="utf-8" ?>
<manifest>
  <control namespace="OptionsetHighlighter" constructor="SignatureHighlighterOptionset" version="0.0.1" display-name-key="SignatureHighlighterOptionset" description-key="SignatureHighlighterOptionset description" control-type="standard">
    <!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
    <property name="sampleProperty" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
    <resources>
      <code path="index.ts" order="1"/>
    </resources>
  </control>
</manifest>

 

 

 

 

 

Not sure what has been changed. Any help is appreciated.

2 REPLIES 2
alrez
Community Support
Community Support

Hi,

 

Looking through your logic everything seems fine to me. Unfortunately the error is not very straightforward and I'm not too experienced with it. This might be a better question for Microsoft Support. I'll include a link below; on creating a ticket. Otherwise if any other communities members might know feel free to chime in.

 

If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you so much Alex for your reply. At this moment, I'll need to find out what kind of Microsoft support subscription I've to reach out to them to answer this for me. I'll definitely keep an eye on this forum to see if any more suggestions or ideas comes up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,224)