1. Michael Johnson
  2. PowerServer 2020 or older (Obsolete)
  3. Tuesday, 12 February 2019 18:27 PM UTC

We have several apps running on appeon workspace with no problem.

Scenerio:

We created a desktop application which uses a Richtextedit control and saves the contents to a database table whose column is a blob.

Works fine in saving and retrieving on the desktop app.

However we tried to implement a RichTextEdit control in one of our web apps and retrieving the blob data and placing it in the RichTextEdit shows nothing? The data we saved was only text.

Does deploying the RichTextEdit to mobile/web work?

-----

Heres a code snippet of our retrieval that works great in a desktop app but not web.

  rte_1.clearall()
  //
  selectblob blobdata into :myblob
  from bikes_blob_data
  where blobid = :ll_id_exists
  using sqlca;
  //
  string ls_rtf_text
  ls_rtf_text = string(myblob, EncodingUTF8!)
  rte_1.Pastertf(ls_rtf_text)

-------------

TIA Mike

 

 

Michael Johnson Accepted Answer Pending Moderation
  1. Thursday, 14 February 2019 14:59 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Yes the RickTextEdit control only works if you have 'Project Type' of WEB.

BOTH or MOBILE will not work.

Guess there is no RTE for mobile.

too bad.. so sad.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 14 February 2019 14:27 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Michael;

   I just tested this scenario the other day in both naive PB and PS Web based apps with no issues ( PB to PB, PS to PS and PB to PS) ...

Note: I used SQLServer and SQLAnyWhere in the above tests.

 

Also, as Zhao Kai stated, the RichText Control is only supported in PS Web based Apps.

HTH

Regards ... Chris

 

 

Comment
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Thursday, 14 February 2019 05:56 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Michael,

The Richtextedit control is supported by PowerServer web only, but not PowerServer mobile.
If you want to run application on web only, please make sure the project type is ‘Web’ (Toolkit > Application Profile Configuration> Basic Settings), thus the unsupported features report would only include the unsupported features by PowerServer Web (the report will include all the unsupported features by Web and Mobile if the project type is ‘Both’).

Regards,
ZhaoKai

Comment
There are no comments made yet.
Michael Johnson Accepted Answer Pending Moderation
  1. Tuesday, 12 February 2019 19:21 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 4

Mike

Changed the code snippet to 

  rte_1.Pastertf(ls_rtf_text, DETAIL!)

Still shows nothing. :-(

Thanks for the reply

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Tuesday, 12 February 2019 18:32 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 5

.pastrtf( value, band)

in PB, band is optional.  In PS it may be mandatory/required?

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.