Link to home
Start Free TrialLog in
Avatar of mrsnetops
mrsnetops

asked on

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

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
Avatar of Big Monty
Big Monty
Flag of United States of America image

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
Avatar of mrsnetops
mrsnetops

ASKER

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>
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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;" />