cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sathesh
Microsoft
Microsoft

PCF control of dataset not visible to Add in CDS org

I have created a PCF control of Data-set type, published the same to my trial org and pushed to my org with below command

pac pcf push --publisher-prefix <your publisher prefix>

Solution imported successfully and available under settings-->solutions 

Sathesh_0-1623374125690.png

however when I tried to add the control under sub-grid or entity it's not listed. Please advise if am missing anything as am new to PCF

Sathesh_1-1623374329710.png

@PowerMaverick I hope you can help me here 😊 since I followed your blog and build this control as am started learning PCF but I used manual commands to build and push

1 ACCEPTED SOLUTION

Accepted Solutions
DianaBirkelbach
Super User
Super User

Hi @Sathesh , 

 

If nothing changed, in Mode-Driven Apps you cannot use a PCF of type dataset combined with a bound field property .

You could define the second property "mainProp" of type "input" or delete it.

 

As I made this test last time, I couldn't upload the control having both dataset and bound properties. Somehow this test must be removed, but the feature doesn't seem to be supported.

 

Hope it helps!

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

6 REPLIES 6
DianaBirkelbach
Super User
Super User

Hi @Sathesh ,

 

The name of the control is the display-name-key

DianaBirkelbach_0-1623393875976.png

or the translation you may have in the "resx" file, corresponding (in that case the value):

DianaBirkelbach_1-1623393987146.png

 

So without translation I would have had "ORBIS_ColorfulOptionsetGrid".

With "resx" file for translation, I have corresponding for ORBIS_ColorfulOptionsetGrid, the value "ColorfulOptionsetGrid". 

 

So maybe your control is there, it's just hard to detect.

Hope it helps!

 

Kind regards,

Diana

 

 

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Sathesh
Microsoft
Microsoft

Hi Diana, this is my control's display-name-key but still not visible, I have published it successfully, I don't know what else am missing

Sathesh_0-1623525380809.png

May I know where I can see translation file "resx"?

We would need more details. Can you provide your manifest file structure here?


Power Maverick | Microsoft Business Application MVP
DianaBirkelbach
Super User
Super User

Hi @Sathesh , 

The resx files are inside your PCF project, but not every PCF must have one, so I'm not sure if you have them.

DianaBirkelbach_0-1623677781351.png

Kind regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Here it is

Sathesh_0-1623696566189.pngSathesh_1-1623696592453.png

Pls let me know if this helps

DianaBirkelbach
Super User
Super User

Hi @Sathesh , 

 

If nothing changed, in Mode-Driven Apps you cannot use a PCF of type dataset combined with a bound field property .

You could define the second property "mainProp" of type "input" or delete it.

 

As I made this test last time, I couldn't upload the control having both dataset and bound properties. Somehow this test must be removed, but the feature doesn't seem to be supported.

 

Hope it helps!

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (2,676)