Forum Discussion
Kamal Pandey
Jun 10, 2019Brass Contributor
Workflow notification Email issue
Hello All,
We were built email notification using window workflow foundation on sharepoint 2010 and migrated to sharepoint 2013. it was working fine on SharePoint 2010.
After migration we started getting broken image issue before/ after the person name in the email.
Email body code is highlighted.
workflowProperties.Item.GetFormattedValue("Modified By").ToString()
Broken image pics
Please suggest what need to be changed in the code to make or remove image tag from email.
Thanks !
Kamal Pandey Ok, last thing to try - the last image may have a CSS class on it labeled "ms-hide" add the class into the email CSS and that might take care of the last image.
.ms-hide {display:none;}
- TimLBSteel Contributor
Kamal Pandey I think the code is returning the formatted value as the Name with (Skype for Business or Lync) presence. So from that list, in the column properties, change the "Show field:" value from "Name (with Presence) to the first "Title" value in the drop down. I don't think you will need to recompile the workflow, but I think that might be what's causing the extra broken images there.
- Kamal PandeyCopper ContributorTimLB, Thank you so much for response, I really appreciate it. I have updated Name (with Presence) to the just Name because i don't have "Title" value in the drop down, and now we getting one broken image.
- TimLBSteel Contributor
Kamal Pandey Ok, last thing to try - the last image may have a CSS class on it labeled "ms-hide" add the class into the email CSS and that might take care of the last image.
.ms-hide {display:none;}