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
96 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 33

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 33

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

737 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