Search found 9 matches

by cedric
Wed Mar 13, 2013 12:38 pm
Forum: Using OpenEMM
Topic: Email blocksize and step
Replies: 6
Views: 6371

Email blocksize and step

Hi

Is it possible to change the default value of the email blocksize (1000) and step (0)?
by cedric
Thu Feb 28, 2013 4:42 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

Well after digging the internet I came out with this action script : #set($id = $requestParameters.CUSTOMERID) #set($Int = 0) #set($customerID = $Int.parseInt($id)) #set($email = $requestParameters.EMAIL) #set($check = $Customer.findByKeyColumn("EMAIL", $email)) #if("$check" == &...
by cedric
Thu Feb 28, 2013 3:41 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

Hi maschoff, I'm still having issues but only if the profile is updated with a new email address. Here is my action script that almost works as I want it to : #set($id = $requestParameters.CUSTOMERID) #set($email = $requestParameters.EMAIL) #set($check = $Customer.findByKeyColumn("EMAIL", ...
by cedric
Wed Feb 27, 2013 3:17 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

No, I didn't. (I don't even know how to do so...)
This post only gave me the idea to look in the velocity log.
by cedric
Wed Feb 27, 2013 2:58 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

You're welcome! Thanks you for the wonderful tool OpenEMM is :)

By the way, my update action script is not really efficient (because I use a subscribe action after) : it creates a new recipient in the database instead of updating the old one.
As soon as I manage to get over this I'll post a solution.
by cedric
Wed Feb 27, 2013 2:36 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

Thanks for the anwser especially the one referring to the post on the forum. After taking a look in the velocity log, i saw where the problem was : 2013-02-27 11:51:39,263 - Error in evaluation of == expression. Both arguments must be of the same Class. Currently left = class java.lang.Integer, righ...
by cedric
Mon Feb 25, 2013 5:33 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

I've tried with this script action with no avail : #set($email = $requestParameters.EMAIL) #set($check = $Customer.findByKeyColumn("EMAIL", $email)) #if($check == "0") #set($scriptResult = "1") #else #set($scriptResult = "0") #end No matter what if the email a...
by cedric
Fri Feb 22, 2013 7:45 pm
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Re: Preventing an email update?

No, that's not what I meant. Let's say we have a profile form and the user want to change his/her email address. Is it possible, problably with action scripts - correct me if I'm wrong, to check if the new email address is already registered in the database and if it does to return the form error? I...
by cedric
Thu Feb 21, 2013 2:29 am
Forum: Using OpenEMM
Topic: Preventing an email update?
Replies: 14
Views: 10793

Preventing an email update?

Hello, First of all I apologize if the answer has already been given somewhere in the forum. I'm using OpenEMM 2011 and I wanted to know if there was a way to prevent the update of a profile if the email supplied in the profile form is already used in the database. Maybe using actions script but I d...