Aug 07 2023 03:30 AM
Hi, hope all are doing well.
My requirements is,
1. I have a list named Birthday wishes where it has column such as Name, Birthday_date, Emp_No, and image. where the image column contains a URL of an employee's image. This list would be changed daily as per the birthday of employees.
2. I have a page in my SharePoint site, where I have a quick link web part or link web part.
3. My need is to add the image URL in quick link web part or link web part automatically whenever the URL changed.
4.These functionalities can be done through power automate or without power automate
Please Help me to solve my problem. Thanks in advance 🙂
Aug 07 2023 04:08 AM
Solution@bhavaM I will suggest you to try below SharePoint out of the box approach instead of using Quick Links web part and Power automate flow/PowerShell/custom solution for updating the links/image URLs.
Check below SharePoint JSON view formatting samples which will help you:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 07 2023 04:32 AM
Aug 07 2023 05:00 AM
Check this documentation for detailed information: Use view formatting to customize SharePoint
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 07 2023 05:38 AM - edited Aug 07 2023 05:46 AM
@bhavaM you don't even necessarily need the JSON, just create a gallery view:
1. List:
2. View filtered for today's birthdays:
3. Web part added to a page showing how it displays if more than 1 person has a birthday on the same date:
You could then build a simple flow to run on the 1st of January each year to update the birthday column.
Rob
Los Gallardos
Aug 07 2023 05:41 AM
Aug 07 2023 05:43 AM
Aug 07 2023 05:49 AM
Aug 07 2023 05:59 AM
@bhavaM Are you asking about updating Image URL in SharePoint list for each employee (list item)?
You can use Image columns in SharePoint list directly instead of using image URLs from somewhere else. Check this: SharePoint Online: All you need to know about New Image column type
Then you can use the images from SharePoint list image column in your JSON formatting.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 07 2023 06:02 AM
Aug 07 2023 06:10 AM
@bhavaM Check these article for adding/updating SharePoint image columns:
If you are already using Power Automate flow for adding/updating SharePoint list items, you can easily update the image URL in list as well. It depends on how you have configured your flow currently.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 07 2023 04:08 AM
Solution@bhavaM I will suggest you to try below SharePoint out of the box approach instead of using Quick Links web part and Power automate flow/PowerShell/custom solution for updating the links/image URLs.
Check below SharePoint JSON view formatting samples which will help you:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.