Error while installing Contact synchronization (ASP.NET) in tridion - tridion

I have Set up the Synchronization Server for Contacts in ASP.net but when try to browse the ProfileSync.aspx page I am getting the error as
"Configured E-mail address is not an existing extended detail field"
"Creating a Contact object failed, while the database settings seem to be correct. Check the cd_audience_manager_conf.xml configuration file."
The cd_audience_manager_conf.xml configuration file settings:
<ExtendedDetails>
<!-- Name of extended details field that contains the e-mail address -->
<EmailAddressFieldName>MAIL</EmailAddressFieldName>
<!-- Name of extended details field(s) used for Contact identification. -->
<!-- These are always considered mandatory fields -->
<ContactIdentification>
<Field>IDENTIFICATION_KEY</Field>
<Field>IDENTIFICATION_SOURCE</Field>
</ContactIdentification>
</ExtendedDetails>
The OutboundEmail.xml settings are:
<ContactDetails>
<ItemTitle format="{NAME} {SURNAME} ({MAIL})" />
<ContactDetail name="IDENTIFICATION_KEY" enableSearch="false" isIdentificationKey="true">
<Label>Identification key</Label>
</ContactDetail>
<ContactDetail name="IDENTIFICATION_SOURCE" enableSearch="false" isIdentificationKey="true">
<Label>Import source</Label>
</ContactDetail>
<ContactDetail name="NAME" enableSearch="true">
<Label>First name</Label>
</ContactDetail>
<ContactDetail name="SURNAME" enableSearch="true">
<Label>Last name</Label>
</ContactDetail>
<ContactDetail name="MAIL" enableSearch="true" isEmailAddress="true">
<Label>xyz#cc.com</Label>
</ContactDetail>
<ContactDetail name="COMPANY" enableSearch="true">
<Label>Company</Label>
</ContactDetail>
</ContactDetails>
Please suggest.

Apparently you don't have a MAIL extended detail field in your database even though your configuration file states that is the e-mail address field.
If you have a different field than MAIL that you want to use for the e-mail address of your Contacts, simply update the section of cd_audience_manager_conf.xml.
If MAIL is the correct field to use, you probably still need to set up your extended detail fields in your database.
(P.S. OutboundEmail.xml is not relevant in this case -- it's only used on the Content Manager machine)

For creating the database entries you can refer to this link (Requires login).
I haven't tried this, but this seems to be a DBA task.

Related

Overzealous "Remember my Password" in Firefox

I had Firefox "remember my password" for my site, and I have a screen that allows me to create a new user, so it has inputs for username and password. These inputs are named something entirely different than what's on the login page, yet they are being filled in by Firefox. The same behavior does not happen in Chrome.
Has anyone else experienced this?
Login page:
<label for="UserName">User name</label>
<input id="UserName" type="text" name="UserName" data-val-required="The User name field is required." data-val="true" class="valid">
Create User page:
<label for="NewUserNameForCreation">User name</label>
<input id="NewUserNameForCreation" type="text" name="NewUserNameForCreation" data-val-required="The User name field is required." data-val="true" class="valid">
I have not seen this behavior myself, but have you tried adding the autocomplete attribute to your input?
<input id="NewUserNameForCreation" autocomplete="off" type="text" name="NewUserNameForCreation" data-val-required="The User name field is required." data-val="true" class="valid">
After you changed your password, the OLD password is no longer valid. You must use the NEW password to access your account, regardless of the browser you use.
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache. Note: This will temporarily log you out of all sites you're logged in to. To clear cache and cookies do the following:
1) Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
2 )Under "Time range to clear", select "Everything".
3)Now, click the arrow next to Details to toggle the Details list active.
From the details list, check Cache and Cookies and uncheck everything else.
4)Now click the Clear now button.
Further information can be found in the Clear your cache, history and other personal information in Firefox article.
Did this fix your problems? Please report back to us!
Thanks!!![

Drupal WebForm With PinPointe--Avoid Confirmation Page

Our company uses PinPointe for email marketing and we have a Drupal 6 site with several language domains. I have created a web form except I did not create any fields in Drupal. Instead in the node Edit NOT THE NODE WEBFORM EDIT....in the node edit for the body section I added the HTML and the javascript for form. Everything works well and the data is captured to pinpointe. The problem lies in the fact that the page..upon clicking submit..actually redirects to PinPointe where I get a friendly message saying. Thanks for joining. Well I don't want this. I would like to just pop an alert saying thanks and leave the user on the page they were on. I tried this code for using jquery to do the post but it isn't loading and I suspect that's because I need it in the header not the body.
So all I want is to submit the data to pinpointe and not redirect the user. So here is where my limited Drupal knowledge runs out:
If I create the input fields in the node webform then how do I get the form to post to pinpointe?
If I create the fields dynamically in the node body (not node>>webform) I can direct the submission to PinPointe but then how do I stop the redirect?
FWIW here is the jquery I was trying to use but suspect has to go in the header http://jsfiddle.net/4xDFK/4/
FWIW here is the code for the dynamic creation:
<form action="http://na04.mypinpointe.com/...." id="webform-client-form-1375" method="post" onsubmit="return CheckForm257(this);">
<div>
<div id="webform-component-UsrEmail">
<div id="edit-submitted-UsrEmail-wrapper">
<input id="edit-submitted-UsrEmail" name="email" size="30" type="email" />
</div>
</div>
<div class="form-actions form-wrapper" id="edit-actions">
<input class="form-submit" id="edit-submit" name="op" type="submit" value=" " />
</div>
</div>
</form>
Create your custom confirmation page in Drupal. Then set up PinPointe to redirect to this confirmation page.
In the PinPointe form manager, there is a option under the 'Thank you page options' to send a signup user to a custom URL.

Form results from website through email

I have a script on my site. I want to get the results in my email when someone submits their details. How do I do that? My server only allow .css files; no .php or .asp.
You can, in fact, have an HTML form prompt to send an email without any scripting whatsoever.
<form method="post" action="mailto:thedude#isgreat.com" enctype="text/plain">
<input type="text" name="comment">
<input type="submit" value="Submit">
</form>
Submitting that form with the content "foobar" in the text field will invoke the user's mailto link handler (e.g. Mail.app, Outlook, etc) and prompt them to send a message with the contents of the form, like so:
To: thedude#isgreat.com
[other headers]
comment=foobar
Of course, they can change the message if they want. Oh, and your email address is ripe for harvesting, if you care.

Use different name in asp:hiddenfield

I have a for which is built within an ASP.net usercontrol. This form is then used within a CMS as part of integration with a merchant gateway. The gateway requires that a number of hiddenfields be passed in which is fine in the main however one of these needs to be called Profile. The CMS I am using also defines a global variable called Profile and as such when I try and add a hidden field with this ID I get errors.
Is there a way of setting the 'name' property to Profile, and the ID to something different?
How about using plain HTML:
<input type="hidden"
name="Profile"
id="SomeId"
value="<%= Server.HtmlEncode("some value") %>"
/>

Drupal path problem - views vs node

I've got a problem with my site search not linking properly to my views pages. I've got a views page set up to display recipe data. It has the URL properties of:
index.php?q=recipe/%1/%2
where %1 is the recipe category, for example, breakfast, and %2 is the recipe name, for example, Muffin. The view goes through the recipe node content, and display it as appropriate. The problem is that the site search module doesn't link to the view, it links to the node which still can look like:
index.php?q=node/22
If I edit that node with an URL alias I can turn it into say:
index.php?q=recipe/muffin
But: this clashes with the view display on the site and the search function takes them to the NODE and not to the VIEW. I really, really need them to be taken to the view.
Is that clear?
How can it be fixed?
Edit: the view has variables for both recipe category and recipe name (for example, breakfast/muffin). Formatting the node pages themselves was impossible, so we had to use views, I'm afraid.
What does the view do exactly?
If it searches for nodes with the argument (say, "Muffin") in their titles, then I think that you should simply change the view URL to something like search_recipe and be done with it.
If it does do something like displaying a single node (so recipe/muffin would be an appropriate unique id), then why are you using Views for this?
Also, you can replace the site's search page with exposed view filters. It's pretty powerful.
This might work?
I've set up a searchable view form - with some filters exposed in the page (and so in the url).
I've disabled site search, don't need it anyway outside this recipe area, and I think I can build a simple block to $GET (or $POST, i always forget) form data to the view.
The view then reads the url and displays appropriately:
index.php?q=recipes%2Fsearch&time=All&keywords=pie
shows recipes containing "pie" in the title.
Just need to build the form now...
edit - yep this worked a treat!
<form id="search-block-form" action="index.php?q=recipes%2Fsearch&time=All" accept-charset="UTF-8" method="get">
<div>
<div class="container-inline right-search">
<div id="edit-search-block-form-1-wrapper" class="form-item">
<label for="edit-search-block-form-1">Quick recipe search: </label>
<input name="q" value="recipes/search" type="hidden" />
<input name="time" value="All" type="hidden" />
<input id="edit-search-block-form-1" class="form-text" title="Enter the recipe terms you wish to search for." maxlength="128" name="keywords" size="15" type="text" />
</div>
<input id="edit-submit" class="form-submit" name="op" type="submit" value="Search" />
</div>
</div>
</form>
This is kind of a workaround, but:
You can try Google Custom Search Engine as default search, and make Google not see node/* URL's using robots.txt.
Just add this below "# Paths (clean URLs)" in the robots.txt file which is on the Drupal root:
Disallow: /node/
(Don't forget that adding this line will stop search engines from crawling all the node/** URLs.)
Also adding views to the sitemap could be helpful for this process.
I've never tried this process, so I can't be sure if it's working or not ;)

Resources