Thanks for your reply. I achieved this using by writing custom .net
application and updated the encrypted data in reddot by making use of
RQL.


On May 21, 1:25 pm, cburne <[email protected]> wrote:
> You would need to do this with some pre-execution and probably some
> additional encryption library for your chosen prexecution language:
>
> in ASP:
> <!IoRangePreExecute>
> <%
> Dim encryptedString, stfToEncrypt
> stfToEncrypt="<%stf_UserField%>"
> ' ... do work to encrypt the field
> encryptedString=encryptSubRoutine(stfToEncrypt)
> %>
> <!/IoRangePreExecute>
>
> <script language="JavaScript">
> var jsEncryptedString="<!IoRangePreExecute><%Response.Write
> (encryptedString)%><!/IoRangePreExecute>";
> // do additional JavaScript work
> </script>
>
> in .NET:
> <!IoRangePreExecute>
> <%
> string stfToEncrypt="<%stf_UserField%>";
> // do work to encrypt field
> string encryptedString=SomeObject.EncryptMethod(stfToEncrypt);
> %>
> <!/IoRangePreExecute>
> <script language="JavaScript">
> var jsEncryptedString="<!IoRangePreExecute><%=encryptedString%><!/
> IoRangePreExecute>";
> // do additional JavaScript work
> </script>
>
> You'll have to read the RD Manuals on how to set up PreExecution in
> the Project Variants and have to figure out how to do the encryption
> with some included library, but the above is generally how you pass
> data between the scopes of RedDot Content --> Back End Code (ASP
> or .NET) --> JavaScript
>
> Christian
> Oshyn - OpenText Web Content Management Experts -http://www.oshyn.com
>
> On May 14, 5:04 am, Chiru <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I am newbie to RedDot environment and right now, i want to achieve the
> > following task. So, could anyone of you help me out in achieving this
> > task please?
>
> > I have one standad fied in my page available for editors in SmartEdit
> > mode only and i want to encrypt the value given for this standard
> > field by editor and assign it a some javascript variable.
>
> > Thanks in advance,
> > Niranjan- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to