Email Template-Subject in GP
Hi All,
In GP i am using Composite Form Callable object,i can select the E-mail template for the same callable object,when the mail should be triggered for that time in Subject- Sample Form<4567ed5667f367778>,its displayed like this ,
But i don't want to show the particular id <4567ed5667f367778>,* i want to display only subject line ,any one plz suggest
Regards,
Vinoth
Hi Vinoth,
E-Mails templates in GP are configured in Administration -> Maintain E-Mails Templates. There you can change the e-mail subject, but itu2019s not possible by a dynamic way or using context variables (itu2019s a bad issue of GP).
Check in this configuration how e-mail title is configured.
Best Regards,
Pedro Nunes
Similar Messages
-
Why does my email template appear differently in various email programs?
I have created a CSS-style based email template using Dreamweaver CS6. The template looks great within Dreamweaver, on Internet Explorer and in Outlook 2003. However, when viewed in Outlook 2010, Hotmail and Gmail, the template is distorted. If I set my containers using pixel size, why would it be different when viewed in other email programs?
Here is my code:
<style type="text/css">
.pageborder {
width: 795px;
height: 995px;
border: medium solid #008478;
font-family: Verdana, Geneva, sans-serif;
font-size: 10pt;
margin: 0 auto;
.prodboxleft {
font-family: Verdana, Geneva, sans-serif;
font-size: 10pt;
background-color: #76c6be;
width: 370px;
float: left;
height: 164px;
border: medium dashed #008478;
margin-top: 5px;
margin-bottom: 5px;
margin-left: 12px;
.prodboxright {
font-family: Verdana, Geneva, sans-serif;
font-size: 10pt;
background-color: #76c6be;
width: 370px;
float: right;
height: 164px;
border: medium dashed #008478;
margin-top: 5px;
margin-right: 12px;
margin-bottom: 5px;
.clearing {
clear:both;
display:block;
visibility:hidden;
.pageborder .prodboxleft img {
padding: 8px;
.pageborder .prodboxright a img {
padding: 8px;
</style>
</head>
<body>
<div class="pageborder"><br /><center><img src="https://system.netsuite.com/core/media/media.nl?id=12679&c=723462&h=55e51819e92ef317c357" width="720" height="86" border="0" /><br /><br />
<a href="http://www.eyecareandcure.com/Diagnostic-Products"><img src="https://system.netsuite.com/core/media/media.nl?id=28469&c=723462&h=dc5c279154096ce1f361" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Pharmaceuticals"><img src="https://system.netsuite.com/core/media/media.nl?id=28474&c=723462&h=9365342d3d72baf4c0d2" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Exam-Room-Supplies"><img src="https://system.netsuite.com/core/media/media.nl?id=28470&c=723462&h=4f1b836f6412ab952e34" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Vision-Testing"><img src="https://system.netsuite.com/core/media/media.nl?id=28468&c=723462&h=3c7664689336406c15ee" width="195" height="40" border="0" /></a><br /><a href="http://www.eyecareandcure.com/Optical-Tools-Supplies"><img src="https://system.netsuite.com/core/media/media.nl?id=28473&c=723462&h=a227a48f3b29b0a38f7a" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Medical-Surgical-Supplies"><img src="https://system.netsuite.com/core/media/media.nl?id=28472&c=723462&h=c94240f73ea2a1647745" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Sterilizing-Disinfecting"><img src="https://system.netsuite.com/core/media/media.nl?id=28475&c=723462&h=5742c12d94b5c490d535" width="195" height="40" border="0" /></a><a href="http://www.eyecareandcure.com/Instruments"><img src="https://system.netsuite.com/core/media/media.nl?id=28471&c=723462&h=3e0b5322e37bf2b86796" width="195" height="40" border="0" /></a></center><br />
<font size="5"><b><center>Great Prices and February Shipping Special!</center></b></font><br />
<div class="prodboxleft"><a href="http://www.eyecareandcure.com/Drops/Fluoron-1532"><img src="https://system.netsuite.com/core/media/media.nl?id=1323&c=723462&h=24fddfba2d9dd33cb960" width="151" height="144" align="left" border="0" /><a/><br /><font size="4"><b>Fluoron<sup>®</sup> 5 ml</b></font><br /><em>Compare to Fluress<sup>®</sup></em><br /><font size="4"><b>$6.95</b></font><br />Was $8.90<br /><br />Item #1532</div>
<div class="prodboxright"><a href="http://www.eyecareandcure.com/Drops/Fluorocaine-8482"><img src="https://system.netsuite.com/core/media/media.nl?id=1324&c=723462&h=bff0adfc33d25c58f9a2" width="162" height="144" align="left" border="0" /></a><br /><font size="4"><b>Fluorocaine™ 5 ml</b></font><br /><br /><font size="4"><b>$7.30</b></font><br />Was $7.80<br /><br />Item #1533</div>
<hr class="clearing" /><div class="prodboxleft"><a href="http://www.eyecareandcure.com/Drops/Tropicamide-1-0-15-ml_2"><img src="https://system.netsuite.com/core/media/media.nl?id=3992&c=723462&h=b9c0ceeda9e5db57fbfd" width="61" height="144" align="left" border="0" /></a><br />
<font size="4"><b>Tropicamide 1.0% 15 ml</b></font><br />
<em>Compare to Mydriacyl<sup>®</sup></em><br />
<font size="4"><b>$8.40</b></font><br />
Was $10.80<br />
<br />
Item #1579</div>
<div class="prodboxright"><a href="http://www.eyecareandcure.com/Drops/Tropicamide-0-5-15-ml"><img src="https://system.netsuite.com/core/media/media.nl?id=28676&c=723462&h=3be84121296356649aa6" width="57" height="144" align="left" border="0" /></a><br /><font size="4"><b>Tropicamide 0.5% 15 ml</b></font><br />
<em>Compare to Mydriacyl<sup>®</sup></em><br />
<font size="4"><b>$8.20</b></font><br />
Was $10.50<br />
<br />
Item #1586</div>
<hr class="clearing" /><div class="prodboxleft"><a href="http://www.eyecareandcure.com/Drops/Phenylephrine-HCl-2-5-15-ml-Akorn-brand_2"><img src="https://system.netsuite.com/core/media/media.nl?id=9387&c=723462&h=e2293736ebaa71f5455b" width="53" height="144" align="left" border="0" /></a><br /><font size="4"><b>Phenylephrine 2.5% 15 ml</b></font><br />
<em>Compare to Neo-Synephrine<sup>®</sup></em><br />
<font size="4"><b>$9.00</b></font><br />
Was $10.25<br />
<br />
Item #1554</div>
<div class="prodboxright"><center>
<font size="4"><b>FEBRUARY SHIPPING SPECIAL!</b></font><br />www.eyecareandcure.com<br /><br /><font size="3"><b>Free Ground Shipping on all<br />internet orders over $200.00*</b></font><br />Enter Promo Code FEB13 during checkout<br /><br />
<font size="1">*Valid only on orders placed on our website from<br />
02/01/13-02/28/13. Not valid with any other promotional offer.</font>
</center></div><hr class="clearing" />
<center>To place your order, please visit our website at
<a href="http://www.eyecareandcure.com"><font color="#008579">www.eyecareandcure.com</font></a>, or call Customer Service<br />
at 1-800-486-6169. You can also
<a href="http://www.eyecareandcure.com/Monthly-Specials">
<font color="#008579">download</font></a> a
copy of this special and fax it to us at 1-877-321-1267.<br><br>Need access to our website?
<a href="http://www.eyecareandcure.com/Registration">
<font color="#008579">Click here</font></a> to register.<br />24-7 ordering, special offers, order
history and much, much more!<br /><br />
<font size="1"><em>All prices subject to change. Some additional restrictions may apply.<br />
See <a href="http://www.eyecareandcure.com/Terms-Policies"><font color="#008579">www.eyecareandcure.com/Terms-Policies</font></a> for standard terms and conditions.</em></font>
</center>
</div>
</div>
</body>
And here is a screen shot of the different results:If email marketing is new to you, the below links are a good starting point for how to go about getting a good-looking and consistent design.
http://kb.mailchimp.com/article/common-html-email-coding-mistakes
http://24ways.org/2009/rock-solid-html-emails/
http://htmlemailboilerplate.com/
The boilerplate is good for reference but in my opinion is overkill for most email campaigns. It does a good job of highlighting why they do certain things though.
Rik -
Hi,
I would create an email template with an image embedded.
I created the email template with outlook on my PC. The body is the following.
<body lang=EN-US link=blue vlink=purple><div align=right style='text-align:right'><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_s1026" type="#_x0000_t75" alt="Description: LOGOXYZ_resized" style='position:absolute;left:0;text-align:left;margin-left:62.8pt;margin-top:0;width:114pt;height:68.25pt;z-index:251658240;visibility:visible;
<v:imagedata src="cid:[email protected]" o:title="LOGOXYZ_resized" croptop="4024f" cropbottom="9198f" cropleft="10723f" cropright="9533f" />
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=152 height=91 src="cid:[email protected]" align=right hspace=12 alt="Description: LOGOXYZ_resized" v:shapes="Picture_x0020_1"><![endif]><b><u><span lang=IT
style='color:black'><o:p></o:p></span></u></b></p><p style='<b><u><span lang=IT>SI RACCOMANDA DI LEGGERE ATTENTAMENTE QUESTA LETTERA E DI CONSERVARLA</span></u></b><span lang=IT
style='color:black'><o:p></o:p></span></p><p style='<span lang=IT style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p style='<span lang=IT>Si
comunica che sono state attivate le credenziali di [//Target/LastName] [//Target/FirstName] per l'accesso alla Rete.<span style='color:#1F497D'><o:p></o:p></span></span></p><p style='<b>Scadenza: </b><span
lang=IT>[//Target/EmployeeEndDate]</span><b> </b><span style='color:#1F497D'><o:p></o:p></span></p><table border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td
width=225 valign=top style='width:168.5pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt'><p align=center style='text-align:center'><b>Applicazione</b><o:p></o:p></p></td><td width=225 valign=top style='width:168.55pt;border:solid
windowtext 1.0pt;border-left:none;padding:0cm 5.4pt 0cm 5.4pt'><p align=center style='text-align:center'><b>Nome utente</b><o:p></o:p></p></td><td width=225 valign=top style='width:168.55pt;border:solid windowtext
:p></o:p></span></p></td><td width=225 valign=top style='width:168.55pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt'><p
align=center style='text-align:center'><span lang=IT>[//Target/ADInitialPassword]<o:p></o:p></span></p></td></tr></table><p style='<span style='color:black'><o:p> </o:p></span></p><p
style='<span lang=IT style='color:black'>Per eventuali ulteriori informazioni contattare il SSIT all’indirizzo
[email protected].</span><span lang=IT><o:p></o:p></span></p></div></body>
Then I exported this template to the FIM Portal server, in the "Email Template" administration section on the Portal.
Where must I put the image to allow FIM to link it? Which attribute have I to modify with the correct path (src?)? And how?
Can you provide me some examples of the correct form of the path attribute?
Thank u very much.
FrancescaThe problem with using "cid" for embedded images is that the email message needs to be formatted differently. You don't have control over the header, mime type and other aspects that need to be defined to include and reference a "cid image" in the message
body.
First, the message header will need to have the following fields:
From: [email protected]
To: [email protected]
Subject: Test example
Mime-Version: 1.0
Content-Type: multipart/related; boundary="boundary-name"; type="text/html"
The "boundary" is what separates the content of the message to form the "multipart/related" pieces.
The message body then has boundary markers and additional content headers to define the individual pieces:
--boundary-name
Content-Type: text/html; charset="US-ASCII"
This is an HTML document, which contains a URI
referencing a resource in another body part, for example
through a statement such as:
<img src="cid:myImage" ALT="Big Smiles">
--boundary-name
Content-Location: CID:blahblah ; this header is not used
Content-ID: <myImage>
Content-Type: image/jpeg
Content-Transfer-Encoding: BASE64
/9j/4AAQSkZJRgABAQEASABIAAD/4QJQRXhpZgAATU0AKgAAAAgACgEPAAIAAAAUAAAAhgEQAAIA
AAAJAAAAmgEaAAUAAAABAAAApAEbAAUAAAABAAAArAEoAAMAAAABAAIAAAExAAIAAAASAAAAtAEy
AAIAAAAUAAAAxgITAAMAAAABAAEAAIdpAAQAAAABAAAA2sSlAAcAAAAQAAAB/gAAAg5TYW1zdW5n
IEVsZWN0cm9uaWNzAFNHSC1BODY3AAAAAABIAAAAAQAAAEgAAAABUGFpbnQuTkVUIHYzLjUuMTAA
MjAxMjowODoxMiAyMzoxODoyOAAAEYgiAAMAAAABAAIAAJAAAAcAAAAEMDIyMJADAAIAAAAUAAAB
rJAEAAIAAAAUAAABwJEBAAcAAAAEAQIDAJIBAAoAAAABAAAB1JIHAAMAAAABAA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qFmvQiUZc4GPWnJEXjDcgHtTi6qRz196mKnH+z/Sphd+9c2nDmVmU2tfNYqw4HSi2tAJ
dgPT+dWoLlN5zjrSC5QXWRnp27VtHRu3YynH4e1y/bwKUI6cfjVWSwzKRnFWIryNYS5PzelRC8W4
YnHSuNyqdDtVGErx
--boundary-name--
The HTML references the embedded content-id via the special "cid" URI. This is the same method used for email attachments. Using the "cid" allows an attachment to be rendered as content in the body of the email.
Since this would already require you to know the underlying mime type of the image, you already need to have the image data converted to Base64 encoding, and you don't have any control over the headers of an email template in FIM... you would need to write
your own email activity and not use the out-of-the-box FIM activities. The other method of getting an email to embed an image is to use the special "data:mime-type" URI in the src attribute of an img tag:
The same image shown above can be placed inline like so:
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QJQRXhpZgAATU0AKgAAAAgACgEPAAIAAAAUAAAAhgEQAAIA
AAAJAAAAmgEaAAUAAAABAAAApAEbAAUAAAABAAAArAEoAAMAAAABAAIAAAExAAIAAAASAAAAtAEy
AAIAAAAUAAAAxgITAAMAAAABAAEAAIdpAAQAAAABAAAA2sSlAAcAAAAQAAAB/gAAAg5TYW1zdW5n
IEVsZWN0cm9uaWNzAFNHSC1BODY3AAAAAABIAAAAAQAAAEgAAAABUGFpbnQuTkVUIHYzLjUuMTAA
MjAxMjowODoxMiAyMzoxODoyOAAAEYgiAAMAAAABAAIAAJAAAAcAAAAEMDIyMJADAAIAAAAUAAAB
rJAEAAIAAAAUAAABwJEBAAcAAAAEAQIDAJIBAAoAAAABAAAB1JIHAAMAAAABAAEAAKAAAAcAAAAE
MDEwMKABAAMAAAABAAEAAKACAAQAAAABAAAGAKADAAQAAAABAAAIAKAFAAQAAAABAAAB3KMAAAcA
AAABAwAAAKMBAAcAAAABAQAAAKQBAAMAAAABAAEAAKQCAAMAAAABAAAAAKQDAAMAAAABAAEAAAAA
AAAyMDEyOjA4OjEyIDE0OjU3OjI1ADIwMTI6MDg6MTIgMTQ6NTc6MjUAAA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prVhM6A4yD+Vc1SbWxvh4e/bc6KxVyMdV96mutPTyxkkk/pUViMR7FPzL1q0rAkK3Ufn
Xnyk29eh9FSoxUPUqCYWfyj/AOvVPUr77UMHgCtS7tUUhyoJrL1aNCjNnDCqo1Oaepz4qhKFH3Sl
NeqvAPTikjv9mNxGBVK4RJY2Azk/zqCQsY2UqckYFesqcbK587TxU1JtfM111bzwXjOSvFEeou/z
Dkis7TpI0TkYOPzqwzFcbBijlTVwqVpLTpuWBq+9SNqhgPxqGC6+Z2Peq8ilHHOKmaMvgqcJiqSS
d2Y1ak57CW9+zTkZ4zV1IRGwIbr0qpHEiuSPX86tKu+NQOMGtFLd9zmdK9oy6ak7xGQ7nJI9KlNw
08Z24wBj86ZPFlFwfmP5U+1BgZlxxWWqSZ6E6NrNrcdbzPHEo7E5+lIJftjsnQqalZsMD29MVIY4
omBUckdhSm1K1gpRlFWRUEYS4VCzdecVanl8qHC4KjtSNbRPMG/i4JzUzQK4ULjC1nJXtY0pJwUu
frsRaXKHf5RgjpWtqKs0C9cqKy7QCNye47AVpLc+fCwbhj0NTJu5NKSdJ9CiQ23rhgOKfZTNt+fI
zUywYG5u3T600Qgkeh/Srg76SOWceSScdS1C6LCyMTg0xH3kcVIkKJArHOMcVCr734bGaUd7G9R6
JNb9B1wrQo2OM0yzJTOOasW9k0/BbG01bi05YY2YnDH+dVKSV0ZU6Dm1JLYrW915UZDKSTzUtxD5
smegFKLZCuSx61OXQAIO361nG0al4mqg5JxloitaAKSuBuq2DnCgUlukUbE7cY/WrAuIghwRuA/W
rbbbuZUoqFmvQiUZc4GPWnJEXjDcgHtTi6qRz196mKnH+z/Sphd+9c2nDmVmU2tfNYqw4HSi2tAJ
dgPT+dWoLlN5zjrSC5QXWRnp27VtHRu3YynH4e1y/bwKUI6cfjVWSwzKRnFWIryNYS5PzelRC8W4
YnHSuNyqdDtVGErx" alt="Big Smile" />
This method is mostly supported by most of the common email clients, including Outlook.
Hope this better explains an alternate solution, -
Using rules in email templates
I want to define a <Variable> in an email template and assign a value of a <rule> to it.
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE EmailTemplate PUBLIC 'waveset.dtd' 'waveset.dtd'>
<EmailTemplate name='Foo Template' smtpHost='$(smtpHost)' fromAddress='[email protected]' htmlEnabled='true'>
<Variable name='fullName'>
<rule name='build full name'>
<argument name='firstname' value='$(userView.global.firstname)' />
<argument name='lastname' value='$(userView.global.lastname)' />
<argument name='nameprefix' value='$(userView.global.nameprefix)' />
</rule>
</Variable>
<subject>$(fullName)</subject>
<body>$(fullName)</body>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</EmailTemplate>Using block traces shows the rule itself is never called and a return value NULL is used thus setting the <Variable> fullName to null. Is it supposed to skip rule execution like this?
I am using IDM 6.0 SP1.
cheers,
thomasgreenfan88 wrote:The Email template is just a template any variable value setting has to be done outside.This is not true for 6.0 and later versions. Replace the <Variable> block above with the code below and the fullname variable is set correctly within the email template.
<Variable name='fullName'>
<concat>
<ref>lastname</ref>
<s>, </s>
<ref>firstname</ref>
<ref>thePrefix</ref>
</concat>
</Variable>It seems just rules are not run and I am still wondering whether this is the expected behavior of 6.0 and later or I missed something? -
Inconsistent substitution string expansion in email templates - SCSM 2012 R2
Coming to the conclusion that email templates should not be stored in a custom MP ?
I'm seeing odd begaviour where only some fields are expanded when the email is created. See below example where ID in the subject line has not been expanded but it has been expanded in the body of the email. If I store the custom template in "Service
Manager Incident Management Configuration Library" then it works as expected.
In the following notification, Subject has not been expanded yet when ID is used in a subsequent field in the email body it is expanded (Fault No.)
Also Affected User Firstname has not been expanded.
Subject: Your call has been closed. ID: $Context/Property[Type='WorkItem!System.WorkItem']/Id$
Fault No: IR223
Fault Description: Testing Open, resolve & close notifications
Dear $Context/Path[Relationship='WorkItem!System.WorkItemAffectedUser' SeedRole='Source' TypeConstraint='System!System.Domain.User']/Property[Type='System!System.Domain.User']/FirstName$,
Please be advised that this call has now been marked as closed.
Ian Moranit should be noted that those substitution strings are contingent on the MP that stores the notification template. for example, 'System!System.Domain.User' is only valid if the
MP Reference "System" points to an MP that contains the element System.WorkItemAffectedUser, and that element is a relationship class definition.
to break it down:
$Context/Path[Relationship='WorkItem!System.WorkItemAffectedUser' SeedRole='Source' TypeConstraint='System!System.Domain.User']/Property[Type='System!System.Domain.User']/FirstName$
$ starts and ends a variable.
Context is one of the keywords that control the behavior of the variable, but in this case, you can read it as the target of the notification template.
Path[] means we are going down the projections path \
Relationship modifies path by specifying which relationship to follow in the brackets with the Relationship element.
SeedRole modifies path by setting which side of the relationship the starting objects is on, in this case, the "context" is the source of the relationship.
TypeConstraint filters path based on what's on the other side of the relationship, in this case, it must be a user.
Property[] means we're reading data from a property of this user, as opposed to pathing again
Type modifies property by controling which class to get the property set from
the last entry is the property name to get data from, i.e. the
FirstName property.
Consider http://technet.microsoft.com/en-us/library/ff719642.aspx and
http://msdn.microsoft.com/en-us/library/ee533748.aspx, thou Context is new for service manager and is largely undocumented, I suspect it was added to address related classes, as (also speculation)
Target may refer only to the target entity without its relationships. -
Overwrite standard workflow email template
Hi,
Can anybody tell me if is possible to overwrite the workflow review notification email template?
How?
ThanksYes, absolutely. Take a look at this link: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10978/c05_workflows.htm#CIHEFEJH
The key info is:
The two most commonly used templates used to generate email messages sent to recipients involved in a workflow are reviewer_mail.htm and reject_mail.htm. These are stored in IdcHomeDir/resources/core/templates.
These templates can be modified like any other template. Email template modification provides the greatest flexibility and opportunity for customizing workflow emails. Although this kind of modification is relatively straightforward, it still requires careful component development. Modifying the subject and the message in the email is often the most important part of the message, and thus is often the most modified.
Make sure your read further (if you want to create a template of your own, for instance). -
Hi Gurus,
IHAC who has a Provisioning Account Complete email template assigned on Notification tab for Create User task.
The email template is a Provisioning Related type and they are using some Requested Related tags.
At the Recon events, after createUser task is complete the email has been sent as below.
No information is got from OIM and the tags are displayed. The customer needs to have login information sent by email.
Is anything wrong?
SUBJECT
OIM - Solicitação (AD RedeCorp) <Request Information.Request ID> - Sucesso no aprovisionamento do usuário <User Profile Information.User Login>
BODY
Prezado Gestor,
A conta do funcionário no <Object Information.Object Name>, foi criada com sucesso.
Abaixo os dados para acesso.
Nome: <User Profile Information.First Name> <User Profile Information.Last Name>
Usuário: <Process Data Information.User ID>
Senha: <Process Data Information.Senha Email>
Em caso de dúvidas, entre em contato com a Central de Serviços através do ramal 1111 ou via celular pelo *1111.
TiA,
CarlosThanks Kevin for the prompt reply.
In this case, Should not the tags for request data be displayed in blank?
Another question: Do not the tags below work for account provisioned thru recon event?
Nome: <User Profile Information.First Name> <User Profile Information.Last Name>
Usuário: <Process Data Information.User ID>
Senha: <Process Data Information.Senha Email>
Thanks again,
Carlos
Edited by: user12295533 on May 10, 2011 2:52 PM -
Can someone provide or point me to a list of all the variables that are available in the email templates for SAP Ecommerce? You know, things like %%UserID%%, %%Subject%%, etc.
I swear I had a list at one point, but who knows what happened to that. Maybe it's even in a help file somewhere and I'm too dumb to find it.
Thanks,
MattHello Matt,
There is a webex demo on editing mail templates available for download here:
[http://www.businessoneecommerce.com/developer.html]
This download also contains an excel sheet with a list of variables.
James -
How can can I determine where email templates are used?
How can can I determine where email templates are used?
Here is a SQL query which was recently provided in response to a YES! question.
1. E-mails attached to the "Notify when plan cancelled":
select
da.Name as ServiceGroupName,
ds.Name as ServiceName,
dp.Subject as MonitorTaskName,
de.LogicName as Event,
demt.name as EmailTemplateName
from
defevent de,
defemailtemplate demt,
defeventtrigger det,
defproject dp,
defservice ds,
defarea da
where
det.objectid = 21 and
det.objectinstid = dp.projectid and
de.eventid = det.eventid and
demt.emailtemplateid = det.templateobjectinstid and
ds.serviceid = dp.ownerinstid and
da.areaid = ds.areaid
2. E-mails attached to all delivery plan tasks:
select
da.Name as ServiceGroupName,
ds.Name as ServiceName,
dt.Name as TaskName,
de.LogicName as Event,
demt.name as EmailTemplateName
from
defevent de,
defemailtemplate demt,
defeventtrigger det,
deftask dt,
defproject dp,
defservice ds,
defarea da
where
det.objectid = 46 and
det.objectinstid = dt.taskid and
de.eventid = det.eventid and
demt.emailtemplateid = det.templateobjectinstid and
dp.projectid = dt.projectid and
ds.serviceid = dp.ownerinstid and
da.areaid = ds.areaid
3. E-mails attached to all approval tasks:
select
da.Name as ServiceGroupName,
ds.Name as ServiceName,
dwsr.Subject as ApprovalReviewStep,
de.LogicName as Event,
demt.name as EmailTemplateName
from
defevent de,
defemailtemplate demt,
defeventtrigger det,
defworkflowsteproles dwsr,
defservice ds,
defarea da
where
det.objectid = 57 and
det.objectinstid = dwsr.steproleid and
de.eventid = det.eventid and
demt.emailtemplateid = det.templateobjectinstid and
ds.serviceid = dwsr.ownerid and
da.areaid = ds.areaidJust add a line to the "where" clause to specifiy which service(s) you want to run this for rather than for the whole catalog:
--By Service Name
ds.Name = "My Service Name"
--By Service ID (Multiple services can be returned.)
ds.ServiceID IN ('1', '2', '3') -
Hello all ,
How do i add a BCC tab to an email template on IDM.
Thanks Carol
Edited by: carol_mlobo on May 8, 2008 3:50 AMTry this and let me know ...
if ($send != "no") {
$sender_name = removecrlf($sender_name);
$sender_email = removecrlf($sender_email);
$msg = "$sitename\n\n";
$msg .= ""._SENDERNAME.": $sender_name\n";
$msg .= ""._SENDEREMAIL.": $sender_email\n";
$msg .= ""._MESSAGE.": $message\n\n";
$to = "[email protected]";
$mailheaders = "From: $sender_name <$sender_email>\n";
$mailheaders .= "Reply-To: $sender_email\n";
$mailheaders .= "Bcc: $bcc\n\n";
mail($to, $subject, $msg, $mailheaders);
// mail( $to, $subject, $msg, "Return-Path: $from\nFrom: $from\nCc: $cc\nBcc: $bcc\n" )
echo "<P><center>"._FBMAILSENT."</center></p>";
echo "<P><center>"._FBTHANKSFORCONTACT."</center></p>";
Regards,
Maulik -
Where to change notification email template?
Do you know where to change the default template for the system-generated notification e-mails sent to users when they have a new instance in their worklist?
Putting it in the right place is the key.
I was on the wrong track following conf/* even though I found that file there to modify as noted by ruben and Oracle's response to my trouble ticket to them.
Ariel's response on the associated forum linked by Dan was the correct answer.
Getting the engine home dir from the Process Admin console and then just put the file there did it.
Did not have to bounce the engine or WL even though I thought I had to when it did not work when done in conf/*. Did not have to do the -D.
For those interested, Oracle's detail response on the file itself is an interesting read. Ignore the conf/* reference.
"To customize it you have to edit the activityNotification.mail file located in
the conf directory in the ALBPM installation directory (i.e. ~studio/conf or ~enterprise/conf).
Copy this file to the Server Home directory. If it is not copied the customization does not take effect and the default mail is sent.
You can define a dynamic mail content editing this XML file. The ALBPM Server
generates the e-mail notificactions (when enabled) for each process activity using this file.
The text to be sent in the e-mail can be defined:
• by process-activity, or
• by process, or
• a default mail.
The search to find the text is by tag.
First, it looks for the process tag. If found, it searches for the activity tag.
If the activity tag is not found, it searches for the default tag within the
process tag.
If the process tag is not found then it searches for the default mail tag.
The XML is structured to conform to the following tags:
• process id: The id of the process that owns the activity for which you
define the custom email notifications.
• activity id: The id of the activity for which a custom mail needs to be
sent.
• title : In between this tag, provide the title for the email sent in the
specified activity.
• message : In between this tag, enter the message to be sent in the selected
business process activity.
<mail>
<process id='processId'>
<activity id= 'activityId>
<title>
The Instance :INSTANCE_ID/ has reached :ACTIVITY/ ...
</title>
<message>
The Instance is :INSTANCE_LINK"here"/
</message>
</activity>
<activity id='activityId2'>
< /activity>
<Default>
<title>
The Instance :INSTANCE_ID/ has reached :ACTIVITY/ ...
</title>
<message>
Link :INSTANCE_LINK/
</message>
</Default>
</process>
<process id='processId2'>
<process>
</mail>
When a message contains a place holder like:
• :INSTANCELINK/ (a link to the instance), or
• :INSTANCELINK"LINKNAME"/ (a link to the instance with the name of LinkName),
or
• :ACTIVITY/ (name of the activity that has been reached), or
• :VAR/ (where VAR is the id for a process instance variable or the id of an external variable);
these place holders are replaced at runtime by the proper value accordingly to the defined mappings at development time.
If within the message tag you set headers="true"
<message html="true" headers="true">
therefore, in the mail subject you will receive the "ActivityName",
"InstanceId" and "ProcessName".
Note: If for some reason the xml file does not exist, a non modifiable mail is sent and an exception is logged.
The activityNotification.mail file, needs to be overwriten in the runtime environment.
The customization of the activityNotification.mail is per installation, not per process or per application.
There is no know way to customize the activityNotification.mail per application
If you take a look at the content of this file, you will see entries of this format:
<process id="/OU/ProcessName">
This allows creating specific email templates PER PROCESS. This to some extent allows the customization for Application (set of processes).
You can have multiple of "<process id=...> tags in the file."
Edited by: user10859606 on 10-Jun-2009 2:08 PM -
ICR FBICR3 Maintaining the email template
Dear All,
I would like to use the Standard email template provided in the FBICR3 transaction to trigger email of the Unassigned items to the responsible person. How do I configure the place holders which has key 0005, 0010, 0020 & 0040 to get the Keydate, partner and company information? When I created email, the email did not translate the 0005, for example, with key date.
Any help will be appreciated.
Thanks
SriniHello Vito,
The only automatic update in the standard is when you send an email from FBICR*. Most customers will send an email via Internet email to an external mail server so their employees receive their ICR emails together with their "normal" emails. Replying to an ICR email in an external email solution is completely outside the control of SAP. Therefore we wouldn't know when such a reply is sent.
If you're using SAP Office as your communication solution in this context: There is nothing in the standard and I wouldn't know how to start with implementing something to get what you're asking for. You would have to implement something like "If the subject lines contains the string "ICR" in a relevant position, then try to do something". Finding the relevant ICR data records for which the original email was sent would be difficult at best...
If you want more of a tracking of the communication you could look into the FSSC Service Request integration which was delivered with EHP5. Instead of creating an email this solution will create a Service Request which can then be tracked outside the ERP system.
Another solution / option is to use group email accounts where the emails are not sent to one specific person but to a special mailbox which different people can access and where everyone relevant can review the complete correspondence...
Theoretically you can also trigger a workflow for ICR items based on the BOR services (same function as attachments etc.). But you would have to implement the workflow yourself. Currently there is no standard functionality in place.
Best regards,
Ralph -
Can no longer select text in email template or read only field with mouse using IE or Firefox?
Hi Guys,
I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
Thanks
Dave
David KellyWhen you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Ctrl+Shift+r to reload the page fresh from the server.
(You also can clear Firefox's cache completely using:
orange Firefox button ''or'' Tools menu > Options > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now")
(2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
* right-click and choose View Page Info > Security > "View Cookies"
* Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
Then try reloading the page. Does that help?
These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
Help > Restart with Add-ons Disabled
In the dialog, click "Start in Safe Mode."
If those features work correctly, this points to one of your extensions or custom settings as the problem.
To also disable plugins, you can use this page:
orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
Any change? -
Can anyone help me with setting up my Mac Air, to allow me to have an email template open up in Outlook instead of Mail when I click on an email address on a website?
All the limits you mention 100 e-mails at a time and 500 in a four hour time frame are limitations imposed by your mail provider, not Thunderbird. Thunderbird places no restrictions on the maximum number of recipients.
Have you tried turning your computer off for a few minutes? -
Problem with links on email templates
Problem with links on email templates
Hi,
We have been having issues with links on our email templates. Some of the links point to the following URL:
http://server'sname/thirdparty/FCKeditor/editor/fckeditor.html?InstanceName=emailTemplatesDTO.htmlBody&Toolbar=NewscaleFCKEditorToolBar#URL
Sometimes we get “Unknown internal error” on the web page.
Can anyone help or advise on how to resolve this issue?
Many thanks,
Wesley.Hi Wesley,
This is rather late, but we've seen the same thing frequently (and I believe can replicate it). It's caused when you a creating a new email by copying the content of an existing one with a name space in it.
Upon copying, the link gets scrambled. The approach we use is to copy the email in to a new template, then strip out all of the URL links and add them back in.
Thanks!
Ant
Maybe you are looking for
-
1st gen 24" iMac will not load
My iMac just locked up during normal use. After power off, it locks up trying to do anything, won't boot OSX, XP , leopard install disk, hardware test or safe mode. Any help would be greatly appreciated.
-
Hi Experts, I'm refering the following web blog /people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1 and a bit confused. My
-
Which activity reports keep track of user in sap ep
HI ALL which activity reports keep track of user who logged in a day in Enterprise Portal. I dont want active user only. i want recently visited active users in a 1 day. Edited by: johnright on Mar 7, 2011 12:27 PM
-
Memory Leak in cRIO running RT
I am running 2009 RT on a compact RIO chassis. My very basic VI causes the RIO to reboot which appears to be related to a memory leak. I use the system monitor and can watch the memory usage on the RIO chassis grow very slowly. Attached is the pro
-
Reformatted Mac HD but it no longer has a Logical Volume Group
Hi Guys, I've reformatted my Mac Pro's main HD, prior to doing a completely new install of Yosemite. Having reformatted it, I noticed that in the Disk Utility, there is no longer a main hard drive at the top of the list called Macintosh HD, with a Lo