Managing email signatures?
Click download Free Trial
Manage Email Signatures Centrally - For All Users
extend your brand and promote your products, services, special events and news
 
Your eMailSignaturer resource    Receive answers in my inbox    Add URL in your RSS reader    Join us on Facebook     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
LiveZilla Live Help

Signature shows blank line for unpopulated AD field

 
Post new topic   Reply to topic    email signatureManage Email Signatures Centrally - For All Users Forum Index -> English Support
View previous topic :: View next topic  
Author Message
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Tue Jun 10, 2008 5:35 pm    Post subject: Signature shows blank line for unpopulated AD field Reply with quote

Hello,
I thought empty AD fields are ignored by the signature? We have a user that does not have a title in AD. The signature is set to insert the title on the second line. For this user with no title, the signature inserts a blank line. Can this be avoided? There is no pre or post text next to the title.
Thank you.
Back to top
View user's profile Send private message Visit poster's website
Mathias Kiesler
Certified Professional
Certified Professional


Joined: 26 Mar 2007
Posts: 183
Location: Osnabrücker Land

Posted: Tue Jun 10, 2008 6:55 pm    Post subject: Reply with quote

Hello,

just click 'Insert conditional text' in Cockpit signature menu.

Have a look at this posting, please.
_________________
with kind regards / Mit freundlichen Grüßen

Mathias Kiesler | www.emailsignature.com mk(at)emailsignature.com |
Back to top
View user's profile Send private message Visit poster's website
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Wed Jun 18, 2008 3:19 pm    Post subject: Reply with quote

Can you give us an example of how the code should look when not using pretext? The Insert conditional text button inserts Mobile: before the field. I have tried to remove this pretext but it breaks the code. For example, on the second line of the signature I need Title. If the user does not have a title in AD the line should be removed.
Thank you.
Back to top
View user's profile Send private message Visit poster's website
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Wed Jun 18, 2008 5:04 pm    Post subject: Insert conditional text Reply with quote

Not quite sure what you want to show ... Confused

Example you should paste in code view with AD as data source:
Code:
{$$NULL(Title)$$VALUE(Title: ((Title))<BR>)$$}

    Or rename your title field to match your data source.


Result:
Quote:
Title: IT administrator

    If 'IT administrator' is your field content in your data source.


Question Does it make sense? Or please post your HTML code ...
_________________
</Jesper> | Test Email Signature | Showcase |
Back to top
View user's profile Send private message Visit poster's website
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Thu Jun 19, 2008 12:00 am    Post subject: Reply with quote

Hello,
Your example has the word "Title:" before "IT administrator". We do not want any text before "IT administrator".

As it is below, If a user does not have a title in AD, an empy line is shown between their name and company.
Thank you.

Here is the html code:
<DIV><FONT style="FONT-WEIGHT: 700; FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'">((First_name)) ((Last_name))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'; LETTER-SPACING: 1px">((Title))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'">((Company))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'; LETTER-SPACING: 1px">((Address))<BR>((City)), ((State/Province)) ((ZIP/Postal_Code))<BR>{$$NULL(Telephone_number)$$VALUE(Tel ((Telephone_number)) )$$}<BR>{$$NULL(Fax_number)$$VALUE(Fax ((Fax_number)) )$$}<BR>{$$NULL(Mobile_number)$$VALUE(Cell ((Mobile_number)) )$$}</FONT><BR></DIV>
<DIV style="MARGIN-TOP: 10px; FONT-WEIGHT: bold; FONT-SIZE: smaller; MARGIN-BOTTOM: 0px; COLOR: #003359; FONT-FAMILY: Trebuchet MS; LETTER-SPACING: 2px">&nbsp;</DIV><BR>
Back to top
View user's profile Send private message Visit poster's website
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Thu Jun 19, 2008 6:14 am    Post subject: Reply with quote

Exclamation Enter code view (your code is from design view).

Simply replace ...

Code:
((Title))


... with this:

Code:
{$$NULL(Title)$$VALUE(((Title))<BR>)$$}


Idea Delete '<BR>' if you want to keep the line.
_________________
</Jesper> | Test Email Signature | Showcase |
Back to top
View user's profile Send private message Visit poster's website
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Thu Jun 19, 2008 3:49 pm    Post subject: Reply with quote

Hello, in the code I replaced ((Title)) for {$$NULL(Title)$$VALUE(((Title))<BR>)$$}.
I get an error now. "The field (Title is not a merge field from the databse or the fields could be case sensitive. You cannot preview the signature before this is corrected."
Back to top
View user's profile Send private message Visit poster's website
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Thu Jun 19, 2008 4:58 pm    Post subject: Reply with quote

If 'Title' is not a field name in your data source, just replace the name with the name of the field containing your users title information.

But you used 'Title' in the code you provided earlier ... Confused
_________________
</Jesper> | Test Email Signature | Showcase |
Back to top
View user's profile Send private message Visit poster's website
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Thu Jun 19, 2008 5:12 pm    Post subject: Reply with quote

Yes, Title is a field in our data source. We use Active Directory.

This is the original code that works but leaves a blank line in the signature if the users does not have a Title in AD:

<DIV><FONT style="FONT-WEIGHT: 700; FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'">((First_name)) ((Last_name))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'; LETTER-SPACING: 1px">((Title))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'">((Company))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'; LETTER-SPACING: 1px">((Address))<BR>((City)), ((State/Province)) ((ZIP/Postal_Code))<BR>{$$NULL(Telephone_number)$$VALUE(Tel ((Telephone_number)) )$$}<BR>{$$NULL(Fax_number)$$VALUE(Fax ((Fax_number)) )$$}<BR>{$$NULL(Mobile_number)$$VALUE(Cell ((Mobile_number)) )$$}<BR></FONT></DIV><BR>

This is the code with Title replaced as you sudgested but it does not work:

<DIV><FONT style="FONT-WEIGHT: 700; FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'">((First_name)) ((Last_name))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'; LETTER-SPACING: 1px">{$$NULL(Title)$$VALUE(((Title))<BR>)$$}</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'">((Company))</FONT><BR><FONT style="FONT-SIZE: 8.5pt; COLOR: #000000; FONT-FAMILY: 'Trebuchet MS'; LETTER-SPACING: 1px">((Address))<BR>((City)), ((State/Province)) ((ZIP/Postal_Code))<BR>{$$NULL(Telephone_number)$$VALUE(Tel ((Telephone_number)) )$$}<BR>{$$NULL(Fax_number)$$VALUE(Fax ((Fax_number)) )$$}<BR>{$$NULL(Mobile_number)$$VALUE(Cell ((Mobile_number)) )$$}<BR></FONT></DIV><BR>
Back to top
View user's profile Send private message Visit poster's website
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Thu Jun 19, 2008 5:31 pm    Post subject: Reply with quote

I learn everyday ... Smile

Try this ... (added space before field name). Save and then preview.
Code:
{$$NULL(Title)$$VALUE( ((Title))<BR>)$$}


Works in my AD.
_________________
</Jesper> | Test Email Signature | Showcase |
Back to top
View user's profile Send private message Visit poster's website
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Thu Jun 19, 2008 6:25 pm    Post subject: Reply with quote

No errors now but a blank line still appears for users that do not have a Title in AD. I tried it with and without the <BR>.

I am using the Preview window to see the space still exists.
Thanks
Back to top
View user's profile Send private message Visit poster's website
gorostizaj
Quite a regular


Joined: 11 Apr 2008
Posts: 11
Location: USA

Posted: Thu Jun 19, 2008 6:42 pm    Post subject: Reply with quote

Nover mind. I found I had an extra <BR>.

Thank you for your help! Smile Smile Smile
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Manage Email Signatures Centrally - For All Users Forum Index -> English Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Add URL in your RSS reader | About Us | Terms and conditions | © 2012 eMailSignature North America, Inc. and eMailSignature Aps.