This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - RichTextBox in Aras From – is it possible ?

fli - Tuesday, August 16, 2011 10:19 AM:

This is an urgent matter, a solution is critical !
Problem:

We are running multiple projects for which we need a RichTextBox, RTB
It is a top priority, that our system users have the possibility to express themselves through a “Word like” editor.
Text written in the RTB must be enabled for searching.
 
Solution proposal:
A RTB could be run from a HTML field on the form.
A schema could be introduced as a new property- XML-“data type” encoding the XML for saving on the SQL DB.
Thanks,
BR / Christoffer 


PeterSchroer - Tuesday, August 16, 2011 1:45 PM:

Hi Christopher,

You can try the Property Data Type = "Formatted Text" which uses a  Rich-Text editor by default on the Forms.    This is not exactly a "Word Like" experience,  but does allow rich text editing.      The limitation with this standard solution is the Control for editing.     We need a better control in the future.  

You can find many examples of Javascript Rich Text editors by searching google.  I've tried many of them,  each has pros and cons. I have not found a clear "best" control to use yet.      If you find one that you like,  you can modify the Aras client code so that when the Property Type is  "Formatted Text",  then the correct editor is used on Forms.

I am experimenting with alternate RTB controls  (besides the JS AJAX ones).    I really like the SilverLight one because the User Interface, Ribbon menus, and the capabilities are very similar to Word.     This is still an experiment in the lab,  but you could use this SL control in your Aras client.

I can send you a screen shot of the SL  RTB Control if you are curious.

Peter.



fli - Monday, September 12, 2011 4:53 AM:

Hi Peter,

Thanks for the answer.

As usually Aras has a solution.



Graham McCall - Thursday, September 15, 2011 9:44 AM:

Hi Peter,

 

I notice when you do a standard report after using formatted text box on a property, you get all the HTML formatting tags in the body of the report.. ( instead of just the formatted text)..  which you don't get if you use text or a string on the property....any way around this?

 

Graham



PeterSchroer - Thursday, September 15, 2011 9:56 AM:

Hi Graham -  goog timing,  I'm working on this topic right now.    We need to both improve the UI of the formattedd editor (become more Word-like), and change the format of what we store in the database (might need to strip the <html> and <body> tags).    Also need to issue some technical guidelines on how to present the data in Reporting Services.    The HTML needs to be escaped, or RS needs to be told to interpret the HTML as formatted text.  

Happy to collaborate with you,  and I appreciate any help you can give us on this project !

 

--peter