I have built a sample drag and drop component for use in our canvas apps. Everything works in the test harness, including the outputs. I can also deploy and update the solution without issue. However, I haven't been able to successfully get the component to import and add to a screen. I just get that pink error message that only says "Couldn't import components." Nothing in the console either.
Here is my manifest:
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="pcfDadPoc" constructor="pfcDadPoc" version="1.1.0" display-name-key="pfcDadPoc" description-key="PCF Drag and Drop POC V1" control-type="standard">
<external-service-usage enabled="false">
</external-service-usage>
<data-set name="bucketsList" display-name-key="List of Buckets">
<property-set name="bucketTitle" display-name-key="Bucket Title" description-key="Display text of the bucket" of-type="SingleLine.Text" usage="bound" required="true" />
<property-set name="bucketID" display-name-key="Bucket ID" description-key="ID of the bucket, must be a unique integer" of-type="Whole.None" usage="bound" required="true" />
<property-set name="bucketOrder" display-name-key="Bucket Order" description-key="Bucket order, must be a unique integer" of-type="Whole.None" usage="bound" required="true" />
</data-set>
<data-set name="cardsList" display-name-key="List of Cards">
<property-set name="cardTitle" display-name-key="Card Title" description-key="Header text of the card" of-type="SingleLine.Text" usage="bound" required="true" />
<property-set name="cardSubTitle" display-name-key="Card Sub-Title" description-key="Sub Header text of the card" of-type="SingleLine.Text" usage="bound" required="false" />
<property-set name="cardDescription" display-name-key="Card Description" description-key="Short text description of the card" of-type="SingleLine.Text" usage="bound" required="false" />
<property-set name="cardID" display-name-key="Card ID" description-key="ID of the card, must be a unique integer" of-type="Whole.None" usage="bound" required="true" />
<property-set name="cardOrder" display-name-key="Card Order" description-key="card order, must be a unique integer" of-type="Whole.None" usage="bound" required="true" />
<property-set name="bucketContainerID" display-name-key="Bucket ID" description-key="ID of the bucket containing this card" of-type="Whole.None" usage="bound" required="true" />
</data-set>
<property name="dadCardDisplayMode" display-name-key="Card Display Mode" description-key="Select the display mode of the cards in each bucket" of-type="Enum" usage="input" required="true">
<value name="Title" display-name-key="TitleOnly" description-key="Titleonly">titleOnly</value>
<value name="SubHeader" display-name-key="TitleandSubHeader" description-key="Title and Sub-Title">titleAndSub</value>
<value name="All" display-name-key="TitleSubandDescription" description-key="Title Sub and Description">titleSubAndDesc</value>
</property>
<property name="dadSourceCardID" display-name-key="Source Card ID" description-key="Source card ID in drag and drop action" of-type="Whole.None" usage="output" />
<property name="dadSourceCardSort" display-name-key="Source Card Sort" description-key="Source card Sort in drag and drop action" of-type="Whole.None" usage="output" />
<property name="dadSourceBucketID" display-name-key="Source Bucket ID" description-key="Source bucket ID in drag and drop action" of-type="Whole.None" usage="output" />
<property name="dadDestinationCardID" display-name-key="Destination Card ID" description-key="Destination card ID in drag and drop action" of-type="Whole.None" usage="output" />
<property name="dadDestinationCardSort" display-name-key="Destination Card Sort" description-key="Destination card sort in drag and drop action" of-type="Whole.None" usage="output" />
<property name="dadDestinationBucketID" display-name-key="Destination Bucket ID" description-key="Destination bucket ID in drag and drop action" of-type="Whole.None" usage="output" />
<property name="dadDestinationType" display-name-key="Destination Drop Type" description-key="Destination drop type wil be EMPTY, START, END" of-type="SingleLine.Text" usage="output" />
<resources>
<code path="index.ts" order="1"/>
</resources>
</control>
</manifest>

Report
All responses (
Answers (