How to use/import CM Tags in html email templates?
Hi guys
I would like to start designing html email templates and send mailings for my clients. Can anyone tell me how I can easily insert CM tags so that the template will be easily adapted to the content of the certain email in the email manager like Campagin Monitor?
Thanks!
Bob
Hi Nancy O.
I would like to design my own templates and instantly insert the right tags and so, so that I can import the templates to websites like Campaign Monitor and my clients can open templates when sending new mailsings.
The goal is to have my own designed templates for my clients with their layouts which they can use for their mailings. Also extending the newsletter (adding new article fields) should be possible etc.
Can you tell me what codes I need and what I should pay attention to in order to design nice templates that will appear correctly in nearly each mailbox?
Thanks in advance!
Bob
Similar Messages
-
Embed BI website into a web page using an IFRAME tag in HTML
Hi
I have got a requirement below.
# Embed BI website into a web page using an IFRAME tag in HTML
(Build a webpage and provide the links to BI Dash Board (10 reports))
How to start and where to add the code and Is there any code available?
Please help me out.Thank You for reply.
I have created a website with dashboard links by using IFRAME tag .As of now there is no security restriction since it was POC for two reports.
My question here how to Provide a link directly to BI public website from a web page on client site(Assume in gmail for example) -
How to use the Wire-Tag in Cairngorm 3 Observer Library?
Dear Observer-Lib coders,
Maybe I am posting my issue into the wrong forum, see this thread:
http://forums.adobe.com/thread/756046
I'd like to know how to use the Wire-Tag mentioned in the Observer-Lib docu, see:
http://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormObserver/
Please let me know if there is anybody who knows how to use
this Wire-tag. A small code example would be great, too!
Thank you,
masuOk ... I solved it!
see this thread: http://forums.adobe.com/thread/756046 -
How to use h:selectOneRadio tag inside h:dataTable tag
Hi All,
Can any one tell me how to use <h:selectOneRadio> tag inside <h:dataTable> tag and how to get selected radio button value in bean ?JSF<h:selectOneMenu value="#{myBean.selectedItem}">
<f:selectItems value="#{myBean.selectItems}" />
</h:selectOneMenu>MyBeanprivate String selectedItem;
public String getSelectedItem() {
return selectedItem;
public void setSelectedItem(String selectedItem) {
this.selectedItem = selectedItem;
public List getSelectItems() {
List selectItems = new ArrayList();
selectItems.add(new SelectItem("key1", "value1"));
selectItems.add(new SelectItem("key2", "value2"));
selectItems.add(new SelectItem("key3", "value3"));
return selectItems;
}String selectedItem should contain the key (key1, key2 or key3) when selected. The values (value1, value2 and value3) are the options as shown in the list. -
How can I import network tags programmatically
How can I import network tags programmatically from a remote DSC module 6.1 application and save it to the local SCF-File ?
Programmatic tag configuration/importing is not possible in 6.1. Some steps, specifically the importing, have to have user intervention.
Regards,
Khalid -
How to use Import parameters of a search help
Hi,
Could you please tell me how to use import & export parameters of a search help in the report.Hi,
Import parameters are imported from the selection screen of the report into the search help and then these are used to query in the search help.
For example
case 1.
parameters : p_carrid like sflight-carrid.
parameters : p_connid like sflight-connid.
the search help that is used in the above condition is
SFLIGHT.
And the selection method is SFLIGHT in this search help.
( to check which search help is used go to se11 display the table and put your cursor on the field and in the menu for goto--> search help.)
so when you do an F4 on connid it looks for a field which is declared like SFLIGHT-CARRID ( and the value entered in it) since the SFLIGHT-CARRRID is an import parameter in the search help, and queries the database where the value is equal to the p_carrid which is declared like SFLIGHT-CARRID and gets only data which is equal to carrid
case 2.
parameters : p_carrid like SCARR-carrid.
parameters : p_connid like sflight-connid.
In this case the system will fetch all the data.
since there is no parameter for SFLIGHT-CARRID on the selection screen it would get all the data from SFLIGHT. -
How to use transaction SOST & SCOT for checking Email performance ?
How to use transaction SOST & SCOT for checking Email performance ?
what exactly as CRM Functional we have to do in above transaction .
Please guide me . what is significance of these transaction ?
Regards,
Anup RecheHi Anup,
Transaction SOST is used to view the status of the sent mails from SAP.
You cna filter the mails sent by a particular user, on a specified date range and time.
You can list the mails in the status Waiting, Error, Sent or Transmitted.
You can also go to the log of the mail and see its details and can also open the mail sent by the user.
You can add the filters as per your requirement.
Transaction SCOT is SAP Connect used to make connections from SAP to external applications.
You cna configure sending of external mails in SCOT by specifying the SMTP host and port to be used.
Hope this gives you a basic idea of the 2 transactions.
Regards,
Saumya -
How to use bean write in struts html:text tag
hi,
i'm new to struts concepts.here i'm trying to write a value in html struts tag using <bean:write>
my current tag is
<html:text property="empname" value='<bean:write name="employee" property="empid">' />
but it gives same tag in the text box.how i can solve this.what am I doing wrong?You will notice above that I mentioned
YOU CAN'T USE CUSTOM TAGS AS ATTRIBUTES TO OTHER CUSTOM TAGS
(was that loud enough for you to notice this time)?
Try
<html:text styleId="instruction" styleClass="text" size="50" name="instruction" property="value"/>
//or
<html:text styleId="instruction" styleClass="text" size="50" property="instruction" value="<%= instruction.getValue() %>"/>
better alternative: populate your formbean with your action and just have:
<html:text styleId="instruction" styleClass="text" size="50" property="instruction"/>
If you set the "instruction" property of your formBean in the action, the value will be automagically reflected here.
Cheers,
evnafets -
How to use ora:processXSLT to create HTML with BR tags included?
I am using a .xsl to create HTML for use as part of a notification process. The issue is that if in the .xsl I include the
tag, when the transform engine runs to make the HTML it creates <br> tags with out the maching </br> tags. (in doing some reading this seems to be a feature of most XSLT engines) But the result is invalid XML, so when I attempt to assign the output to a variable the process faults and I get the following error:
XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:processXSLT("XML_PURCHASE_ORDER_to_HTML.xsl", bpws:getVariableData("inputVariable", "payload", "/ns1:XML_PURCHASE_ORDER"))", the reason is The XML data is invalid.
The XML data is invalid; the reason is "Error on line 100 of document : The element type "br" must be terminated by the matching end-tag "
". Nested exception: The element type "br" must be terminated by the matching end-tag "
Message was edited by:
mlutze
Message was edited by:
mlutze
Message was edited by:
mlutzeYou can probably set the output format in the stylesheet, like:
<xsl:output method="txt" indent="no" omit-xml-declaration="yes" />
if you really don't want to use xhtml. The result might have to be wraped in a cdata block in the bpel flow?
cheers
/Stig -
How to use logic:present tag in struts el tag
Hi
I am trying to use struts el tags in the jsp page.I am struggling with the following exception: Cannot find bean: "result" in any scope.I couldn't understand why this error is coming even i had the property "result" in my ActionForm.
ActionForm:
package com.finocus.cam.struts.bean;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import com.finocus.cam.common.ValidateFormat;
public class DetailsForm extends org.apache.struts.action.ActionForm {
private final static String LOG_TAG = DetailsForm.class.getName() + ".";
private static final long serialVersionUID = 1L;
// VARIABLES DECLARATION
private String name = null;
private String searchField = null;
private String searchCriteria = null;
private String phonenumber = "";
private String email = "";
private List results = null;
private String adminUserName = "";
private String adminUserEmail = "";
public DetailsForm() {
// GETTER AND SETTER METHODS
public String getName() {
return name;
public void setName(String name) {
this.name = name;
public String getSearchCriteria() {
return searchCriteria;
public void setSearchCriteria(String searchCriteria) {
this.searchCriteria = searchCriteria;
public String getSearchField() {
return searchField;
public void setSearchField(String searchField) {
this.searchField = searchField;
public String getEmail() {
return email;
public void setEmail(String email) {
this.email = email;
public List getResults() {
return results;
public void setResults(List results) {
this.results = results;
public String getPhonenumber() {
return phonenumber;
public void setPhonenumber(String phonenumber) {
this.phonenumber = phonenumber;
public String getAdminUserEmail() {
return adminUserEmail;
public void setAdminUserEmail(String adminUserEmail) {
this.adminUserEmail = adminUserEmail;
public String getAdminUserName() {
return adminUserName;
public void setAdminUserName(String adminUserName) {
this.adminUserName = adminUserName;
// DUMPING THE VALUES IN THE CONSOLE
public void dumpValues() {
StringBuffer sb = new StringBuffer();
sb.append("Name'");
sb.append(name);
sb.append("SearchField");
sb.append(searchField);
sb.append("searchCriteria");
sb.append(searchCriteria);
sb.append("'");
sb.append(" ");
System.out.println(sb.toString());
// RESET() METHOD IS USED FOR STORE FORM'S CURRENT VARIABLES DECLARATION
public void reset(ActionMapping actionMapping, HttpServletRequest request) {
System.out.println("reset() method is called");
this.email = null;
this.searchCriteria = null;
this.searchField = null;
this.results = null;
// VALIDATE() METHOD IS USED TO VALIDATE THE FORM DATA
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
System.out.println("Validate()is called");
// Determine if name has been entered.
if (getName() == null || getName().length() == 0
|| getName().equals(" ")) {
errors.add("accountText", new ActionError("searchText.error"));
} else if ((getSearchField().equals("name") == true)
&& (ValidateFormat.isValidText(getName()) == false)) {
errors.add("validAccountName", new ActionError("validName.error"));
if (getSearchField() == null || getSearchField().length() == 0) {
errors.add("accountSearchField", new ActionError(
"searchField.error"));
} else if ((getSearchField().equals("email") == true)
&& (ValidateFormat.isValidEmail(getName()) == false)) {
errors
.add("validAccountEmail", new ActionError(
"validEmail.error"));
} else if ((getSearchField().equals("phonenumber") == true)
&& (ValidateFormat.isValidPhoneNoFormat(getName()) == false)) {
errors.add("validPhoneFormat", new ActionError(
"validPhoneFormat.error"));
if ((getSearchField().equals("searchallfields"))
&& ((ValidateFormat.isValidText(getName()) == false)
&& (ValidateFormat.isValidEmail(getName()) == false) && (ValidateFormat
.isValidPhoneNoFormat(getName()) == false))) {
errors.add("validNameEmail",
new ActionError("validNameEmail.error"));
return errors;
Action class:
package com.finocus.cam.struts.action;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.finocus.cam.db.CAMDbAccess;
import com.finocus.cam.struts.bean.DetailsForm;
public class DetailsAction extends org.apache.struts.action.Action implements
com.finocus.cam.common.CAMConstants {
private final static String LOG_TAG = DetailsAction.class.getName() + ".";
// Global Forwards
public static final String GLOBAL_FORWARD_search = "login";
// Local Forwards
public static final String SUCCESS_search = "success";
private boolean dumpRequestParams = true;
public DetailsAction() {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
System.out.println("SearchAccount execute() is called");
HttpSession session = request.getSession(true);
ArrayList results = null;
DetailsForm search = (DetailsForm) form;
String name = search.getName();
String searchField = search.getSearchField();
String searchCriteria = search.getSearchCriteria();
// Dumping the values of input patameters
if (dumpRequestParams == true) {
request.setAttribute("SearchCriteria", searchCriteria);
request.setAttribute("SearchField", searchField);
request.setAttribute("Text", name);
search.dumpValues();
// Perform search based on what criteria and search Field was entered.
CAMDbAccess dbAccess = CAMDbAccess.getInstance();
if (null != searchCriteria && searchField != null) {
System.out.println("Search Criteria =" + searchCriteria
+ "Selected Option =" + searchField);
if (searchCriteria.equals(Search_Account) && searchField != null) {
results = dbAccess.searchByAccountInfo(name, searchCriteria,
searchField);
System.out.println(" Search criteria :Exact Match was selected.<BR>");
// Place search results in SearchForm for access by JSP.
search.setResults(results);
// Forward control to this Action's input page.
return mapping.findForward(SUCCESS_search);
My jsp page:
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic-el" %>
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html" %>
<html:html>
<head>
<title>Search Page</title>
</head>
<body colorants="LightGreen">
<table width="100%" bgcolor="LightGreen">
<tr>
<td align="left"><font color="brown"><h3><b>Search Info</b></h3></font><hr></td>
</tr>
<tr>
<td align="left"><h4><font color="brown"><b>Search Text:</b></font><%=request.getAttribute("Text")%></h4></td>
</tr><tr>
<td align="left"><h4><font color="brown"><b>Search Field:</b></font><%=request.getAttribute("SearchField")%></h4></td>
</tr><tr>
<td align="left"><h4><font color="brown"><b>Search Criteria:</b></font><%=request.getAttribute("SearchCriteria")%></h4></td>
</tr><tr>
<html:form action="/results.do">
<td><center><html:submit value="AllSearchOptions " /></center></td>
</html:form>
</tr>
<tr>
<td align="left"><font color="brown"><hr><h2><b>Search Results</b></h2></font></td>
</tr>
<tr>
<td>
<table border="1" cellspacing="1" cellpadding="3" width="70%"
bgcolor="white">
<logic:present name="searchbyaccount" property="results">
Results exists
<c:if test="${size==0 }">
<center><font color="red"><b>No Results Found</b></font></center>
</c:if>
<br>
<c:if test="${size>0}">
Size is greater than ZERO
<table border="1" cellspacing="1" cellpadding="3" width="70%"
bgcolor="white">
<tr>
<th>Customerid</th>
<th>First Name</th>
<th>Last Name</th>
<th>Email</th>
<th>phone Number</th>
<th>Details</th>
</tr>
<c:forEach var="result" items="${results}">
<c:out value="${result}"/>
<tr>
<td><bean:write name="result" property="customerid"></bean:write></td>
<td><bean:write name="result"
property="accountAdminFirstName"></bean:write></td>
<td><bean:write name="result"
property="accountAdminLastName" /></td>
<td><bean:write name="result" property="accountability" /></td>
<td><bean:write name="result" property="accountAdminPhone" /></td>
<td><html:form action="/accountDetails.do">
<html:submit value="Details" />
</html:form></td>
</tr>
</c:forEach>
</table>
</c:if>
</logic:present>
</table>
</td>
</tr>
</table>
</body>
</html:html> Please refer me where i done a mistake.Thanks in Advancehi all,
I am doing programs in sturts. My program
My program purpose is to retrieve data from the
database.My database is MySql. I know that we can
write connection code in Action Class, it is ok for
some less prog's if i want to use the sane connection
code in more Action Classes it is vasting time and
so.I don't think it's a good idea to put database code in Action classes. (That's one of the biggest drawbacks of Struts - it's completely tied to Actions, HTTP, and the Web.) Better to move that code into plain old Java objects and let the Actions call them.
You'll be able to test them without the container or Struts, and you'll be able to reuse those objects in other, non-Web contexts.
So i want to use <data-sources> tag that is available
in struts-config.xml. I know that thre is tag withThis is the wrong place to configure a connection pool, too. Struts should have nothing to do with it. What if you change Web frameworks to WebWork or Spring? The connection pool should be configured in the container that hosts your app, not Struts.
this name, but the problem is i don't know how to use
this tag. If any budy know how to use this please
tell me the syntax or any example.
plese... reply soon..Don't do it. Think about doing it in your container, not Struts.
% -
How to use struts Logic tags in weblogic8.1
hi
i have used jakarta struts in JDeveloper there i used logic tags
but the same i have to use in weblogic8.1 ,how should i use it
i am new to weblogic platform
it is very urgent
pleaseHi harish,
Procedure for using a Struts Tag Libraries in weblogic 8.1 :
•Copy the tag lib jar files under WEB-INF/lib ( if tag handler supplied as
classes without package a jar file then we need to copy the classes
under WEB_INF/classes.
• Copy the tld files files under WEB-INF or create a directory under
WEB-INF and copy tld files under this directory.
• We need to give the information about the tag libraries in web.xml by
adding the following lines to it as,
<taglib>
<taglib-uri>bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
To use tags in jsp file we need to add taglib directive as ,
<%@ taglib uri="logic" prefix=“logic"%>
<%@ taglib uri="html" prefix=“html"%>
<%@ taglib uri="bean" prefix=“bean"%>
Every tag can support zero or more number of attributes and a tag may or
may not support body content
Every Tag Library Uniquely identified by uri defined in web.xml.
we can use the tags in jsp according to the tags and attributes which are defined in *.tld files.
if we look at .tld files we can find several tags and its attributes.
note :any jar files that are related to struts framework ,place under the lib directory of the webapplication.
----- Anilkumar kari -
I have translated HTML to PDF. It is working properly if I use only DC Metadata.
But if I write other tag in XMP and load this file in PDF, I cannot see right information.
I want to use my own tag such as "co-author" and "related paper".
I define this kinds of tags as namespace and XML Schema.
Then I want to use this tag in PDF. But I don't know how to do after this.
How can I do? How can I use my own tag(element or attribute) in XMP?
Actually I don't have much experience to deal with XMP.
please help.Will you clarify where you are looking for your custom information.
It should display in Acrobat.
Acrobat 7 File menu > Document Properties... > Additional Metadata... > Advanced > {list of namespaces}
Your tags should appear under the namespace you used. -
How do i import keyword tags from PSE12?
I have just downloaded PS and LR5 from Adobe CC. I was using Photoshop Elements 12. How can I import my keyword tags from the PSE Organizer. I saved them as .txt files but they will not import because they contain "special characters." What do I do? Please do not tell me I have to start over... ~
is there a way to import tags from PSE 12
The PSE 12 Organizer and LR 5 use different file formats for exporting and importing keyword hierarchies. PSE uses XML format, while LR 5 uses a tab-separated format. If you're a programmer or technically minded, you could convert from one to the other using your favorite scripting language.
But the approach suggested by dj_paige can be modified to accomplish what you want without scripting, by copying the keyword hierarchy from the "upgraded" LR catalog that was created from your PSE catalog to your "good" LR catalog:
1. Make a manual backup of your "good" LR catalog: Lightroom Help | Back up a catalog.
2. In LR, open the catalog that you created previously by upgrading (converting) the PSE catalog -- you can usually get to that catalog by doing File > Open Recent.
3. Go to grid view in the Library by doing Window > Library followed by View > Grid (usually you're already in Library grid view, but just in case...)
4. Make sure the Keyword List panel is showing on the right by doing Window > Panels > Keyword List.
5. You should see the keyword hierarchy from your PSE catalog. If you don't, stop and post a screen shot of the entire LR screen.
6. Do Metadata > Export Keywords to export those keywords as a LR-format text file.
7. Open your "good" LR catalog by doing File > Open Recent.
8. Do Metadata > Import Keywords and select the file you exported in step 6.
9. All the keywords that were exported in step 6 will be added to the current catalog, and there will be duplicate keywords if there were already keywords of the same name in the catalog. Those new keywords will not be attached to any existing photos in the current catalog. -
How to use import parameter to be instead of SQL where sub-sentence ?
I wrote a RFC to read data from SAP table. To fetch data flexibility, I want to use import parameter xx instead of where sub-sentence in SQL sentence.
For example, "SELECT * FROM T WHERE XXX", and "XXX" is a importing parameter.
How can I use it.
Thanks a lot.
Frank.FUNCTION ZRFC_04.
*"*"Local Interface:
*" IMPORTING
*" VALUE(TARGETTABLE) LIKE MAKT-MAKTX
*" VALUE(TWHERE) LIKE MAKT-MAKTX
*" EXPORTING
*" VALUE(ZRETURN) LIKE MAKT-MAKTX
*" TABLES
*" TMP_TEST1 STRUCTURE ZTEST1
DATA:
TRANSACTION_ID LIKE ARFCTID,
V_VAILD(1) TYPE C,
scond(80) TYPE c.
V_VAILD = 'X'.
GET PARAMETER twhere fields scond.
The error " 'LATE FIELDS' expected, not 'TWHERE FIELDS' " generated. -
How to use import script with FDM using adapter ERPI?
Hi,
I use FDM and ERPI 11.1.2 to load data from EBS R12 to Planning 11.1.2
Data loaded from eBS are YTD data.
I have seen that I could use an import script to calculate manually the amount with the periodic_net_cr and periodic_net_dr fields.
But how to use this import script? Because in my import format in FDM, I don't use a file but directly the adapter, so no "Expression" field.
Thanks in advance for your help
FannyHello Fanny,
No you will not need to put anything in the BatchAction. If you review the FDM API Documentation posted it will outline all the scripts that will execute for a particular event ... and the order in which they execute. The BatchAciton only affects the execution of the batch ... it does not control processing of data. Processing of data is controlled by many others.
There is a script that can be written and placed (as Tony mentioned) in the ImportAction that will be able to recaculate the values from ERPi to be YTD values. You can possibly open an SR and a support Engineer can help you .... or you can search the current KM base and use that information there from the v11.1.1.3.00 version to build your own for v11.1.2.x
Thank you,
Maybe you are looking for
-
FSCM-CR Case types for Documented Credit Decision (FDCD, FDCA) missing.
Hi FSCM community I am looking at the FSCM CR module and got some issues here and there. Here's one of them. Documentation for the SAP IMG node: FSCM -> Credit Management -> Credit Risk Monitoring -> Documented Credit Decision -> Settings in the Case
-
Xerces or JDOM which is better?
hi all i would like to ask for some opinions. Xerces and JDOM which is better? thanks!
-
I keep trying to download stuff off iTunes but I still get a "Disk Full error".
We got a new computer with a 500 gb hard-drive so I know that I have free space. Every time I try to download something I get an error that says the disk is full. I have already tried to reset iTunes through preferences, so I need some more solutuion
-
How to make Pages default app for .doc files
How do you make Pages/Numbers the default app for all .doc/.xls files?
-
Does a Time Machine backup capture unsaved Word Documents? I am looking for a Word Document that I am guessing I deleted though I think it was open when I was doing a backup.