Forum Discussion

bwind's avatar
bwind
Copper Contributor
May 16, 2020
Solved

How to include customCardProps in JSON - For Hover Formating

Hi, 

 

I saw an interesting formating view in microsoft site 

 

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting

 

But there if I copy the JSON and apply to a List it apeears the message bellow : 

 

"Define your formatter options inside the customCarProps/formatter property"

 

But inb the same site its not clear how to do that definition.  It mentions this "This example uses customCardProps, openOnEvent, directionalHint and isBeakVisible"

 

But cant find out how to include this in the JSON or list, is there a more detailled instruction?

 

Thanks!

  • bwind  the full JSON is at https://github.com/pnp/sp-dev-list-formatting/tree/master/view-samples/custom-hover-cards

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

4 Replies

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    bwind  the full JSON is at https://github.com/pnp/sp-dev-list-formatting/tree/master/view-samples/custom-hover-cards

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

      • RobElliott's avatar
        RobElliott
        Silver Contributor
        They've changed the url: https://github.com/pnp/List-Formatting/tree/master/view-samples/custom-hover-card
    • bwind's avatar
      bwind
      Copper Contributor

      RobElliott thanks! it look more simple in the site kkkk over 1000 lines got trick

       

       

Resources