CRM 2011: Display the Body of an Email In Another Entity - dynamics-crm-2011

Can I show the body (description) of an email in a custom entity?
I have tried to copy the content of the description field into a field in the custom entity, but end up with all the formatting showing.
What about putting an iFrame of the email on the custom entity form and then manipulating the email until it only show the email description?

The body of an email is html. If you put the content in a control of CRM will not formatted. You can put in a iframe (html page) or a web resource of type html and put only the body of the email. This solution permits don't occupying so much space as your solution.

Related

Body field of Notes mail document does not contain the email text

The Body field of Notes mail document in the database does not contain the actual email text at all, but just contains the HTML elements.
However, the actual email text is seen when this Notes mail document is opened in the browser.
We are using the below code snippet to fetch the email text:
Set nrtNotesRichTextItem=ndocEmailDocument.GetFirstItem ("Body")
strEmail = strEmail + "<br>" + nrtNotesRichTextItem.GetUnformattedText
As the Body field does not contain the actual email text, the variable strEmail is not returning the text, but returning the hyperlink text which when is clicked, redirects to a web page that contains the actual email text that we need.
Any leads on this?
You probably have a multi-value Body. (Confirm by looking at the items in the properties of the document: Alt+Enter, second tab, scroll in the left pane to find "Body" and see how many times it occurs.)
Try accessing the rest using v in something like the below:
Forall v In nrtNotesRichTextItem.Values
End Forall
Based on what you have described in comments, you are dealing with a large MIME message. Do you see just the actual text in View -> Show Page Source? Or do you see MIME headers, dividers, tags, and text? This is the crucial question.
Notes provides a GetMIMEEntity method in the NotesDocument class and it provides the NotesMIMEEntity class with various methods to traverse the structure of a MIME message and extract its content.

Auto Populate DocuSign PowerForm

I'm wondering how i can populate the DocuSign Powerform. I studied on Populating Custom Envelope Fields in a Web PowerForm
But I can't understand how to deal with the Envelope Field Name OR Secure Field Name.As far as i understand those are required to populate the form. But I'm wondering how can I add OR get those Envelope Field Name OR Secure Field Name. Please see the image for better understanding of what I'm trying to mean.
Regards
Efat
In the API the fields are referenced through the tabLabel property. If editing manually through the DocuSign Console they are labeled as "Data Label" in the UI and can be accessed by selecting a tab and going to right panel -> advanced -> data label.

Missing data in Text box in a infopath 2010 form

I have a infopath 2010 form with a table and couple of text boxes and this form is configured to submit a email with the form in the body of the email.
The form is opened in a browser and I am able to add text and submit the form and I see the email. But the form ( with data ) in the body of the email has lost formatting and the text field on the form was set to a width of 100% and as a 'Multi line ' text and I see that the data in the text field as we see on the email body is chooped off.
I am having issues controlling the format of the form as we seen in the browser and they way it shows up on the email body.
Any help is appreciated.
Sri
I have had this problem to. The way that I got around this is by creating another view for the form and then having the exact same layout but changing all the controlls so that they are calculated fields this then seems to give you the values.
thanks, Jack

Attach Sharepoint 2010 List attachment to gridview

I have a SharePoint list, which has attachments!!
I am using a custom grid-view to display some selected List fields from the list.
I would like to include the attachment as an embedded document in the Grid-view, Is that possible?
Got it worked, Created an anchor type item template in grid view.
And the Href property of the anchor tab is binded with the attachment retrieved pro grammatically. Working great!!

Hide field in SharePoint alert email

How can I hide a field in a SharePoint alert?
I have a custom event list (Calendar). I have a field (of type Note - aka Multi-line text) whose XML contents I generate manually in an event receiver. All my calendar views use this field as the Title for the Month, Week, and Day views.
I have a web part I include on the page that runs a jquery script that converts the XML title into a background color and mouseover text.
The problem is that this field and its ugly xml show up in sharepoint alerts. If I set the field to Hidden=true then it does not show up in the email, but it is no longer available to select as the Title for the Month, Week, and Day views when creating a new View. This is not acceptable as users need to be able to create views and be able to select this field as the title.
Is there another way to prevent this field from showing up in emails, along the lines of ShowInDisplayForm, ShowInEditForm, etc?
Would editing the fields in the alert template fix your issue?
http://blogs.msdn.com/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
"To exclude some fields from being rendered in the email, you should include them in the <DigestNotificationExcludedFields> and <ImmediateNotificationExcludedFields> section."
Can you set another field to have that XML and have the jquery script run against that field instead? That would leave the Title field to be used normally.

Resources