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
84 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
ID: 40566522
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
ID: 40566549
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
ID: 40566571
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
ID: 40566772
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

910 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

25 Experts available now in Live!

Get 1:1 Help Now