Solved

Is there a way to covert mixed upper and lowercase information pulled from Windows Active directory to all Uppercase before Displaying it.

Posted on 2015-01-23
4
82 Views
Last Modified: 2015-01-23
We trying to make a signature for our email with HTML. We pull the attributes from Active Directory such as, Name, Title, address, City, state and Postal code. It works just fine. But unfortunately the information with AD is a mixture of Upper and lower case text for these attributes. Is there way in HTML to change attributes value to all uppercase before displaying it the signature.


I know we could probably run a script to change all these attributes in AD to uppercase, but really don't want to do that unless there is no other way.

Thanks
Jeff McCormick
0
Comment
Question by:mrsnetops
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:Big Monty
Comment Utility
how are you pulling the info from AD? You must be using some sort of server side language, no? if so, chances are it has a built in function to do what you're asking
0
 

Author Comment

by:mrsnetops
Comment Utility
This is example of our Signature html code. We do user third party to insert our signature into our email. The code with the MC in front is from them. I did call them and ask them but they said the couldn't , and suggested we check to see if HTML could do it.


<html><head></head><body style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'DejaVu Sans', Verdana, sans-serif; font-size: 9px; color: #6B6B6B;"><mc type="comment"><br />


<hr style="border: 1px solid #d7d7d7; width:100%; align: left; margin-bottom:18px;" />
<mc type="clickimage" code="imagebottom">
<p><span style="font-weight:bold; color:#006A9A;"><mc type="variable" source="from" attribute="displayName"></span><br />
<span style="color: #6B6B6B"><mc type="variable" source="from" attribute="title"></span></p>
<p> <span style="font-weight:bold; color:#006A9A;">OURCOMPANY</span><br />
<mc type="variable" source="from" attribute="streetAddress"><br />
<mc type="variable" source="from" attribute="l"> <mc type="variable" source="from" attribute="st"> <mc type="variable" source="from" attribute="postalCode"></p>
<span style="font-weight:bold; color:#006A9A;">OFFICE</span> <mc type="variable" source="from" attribute="telephoneNumber"> <span style="font-weight:bold; color:#006A9A;"><mc type="variable" source="from" attribute="otherMobile"></span> <mc type="variable" source="from" attribute="mobile"><br />
OURCOMPANY.COM<br /><p></p>
<p><em>This is the Disclaimer.</em></p>

<mc type="previouscomment">


</body></html>
0
 
LVL 32

Accepted Solution

by:
Big Monty earned 500 total points
Comment Utility
you may be able to add a css class called text-transform to your page that';; capitalize everything for you

http://www.w3schools.com/cssref/pr_text_text-transform.asp

<style>
     mc { text-transform: uppercase; }
</style>
0
 

Author Comment

by:mrsnetops
Comment Utility
Okay, we got it figured out. Using a variation of yours. Thanks for the help.

<span style="text-transform: uppercase; font-size: 12px;">
<hr style="border: 1px solid #d7d7d7; width:100%; align: left; margin-bottom:18px;" />
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now