Access variables and BusinessObjects from within a RichText

Stimulsoft Reports.WPF discussion
Post Reply
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Access variables and BusinessObjects from within a RichText

Post by PJoyeux »

Hi,

when I use a Text-Field I can use the right hand list to access variables, columns, BusinessObjects, ...
Bild 2.png
Bild 2.png (58.18 KiB) Viewed 3754 times
but when I use a RichText-Field I don't have that right hand list:
Bild 3.png
Bild 3.png (42.23 KiB) Viewed 3754 times
Is that by design or is something missing somewhere? I can still use something like {MyBusinesObject.Property} to let the data shown, but it is really cumbersome to remember exactly how the objects and/or variables are named. Any idea?

Oh, and by the way: Why is the RTF-Editor so wide and can't be resized? The Text-Editor is much smaller and CAN be resized...

Cheers,
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Access variables and BusinessObjects from within a RichT

Post by HighAley »

Hello.

The Dictionary panel wasn't implemented in the Rich Text Editor. If you rally need it, please, send a request to support@stimulsoft.com.

We will make this window resizable in one of our next prerelease build.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Access variables and BusinessObjects from within a RichT

Post by PJoyeux »

Hi,

I have sent an email and hope you can implement this for your next release. As explained in the mail, this is very important for my users...

Cheers,
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Access variables and BusinessObjects from within a RichT

Post by HighAley »

Hello.

Maybe we didn't understand each other. It's possible to add Data Source filed in Rich Text. You should set the Full Convert Expression property of the Rich Text component. But this will make report rendering slower.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Access variables and BusinessObjects from within a RichT

Post by PJoyeux »

Hi Aleksey,

I was already able to use Data-Fields in RichText-Fields but I had to enter them manually using the following syntax:
"Some Text {BusinessObject.Property}, some more Text"

Of course this works, but I would like to "protect" users from using this kind of "code". So it would be better to just use the dictionary-panel and drag the fields into the RichText-Editor.

Therefore my feature-request...

Cheers,
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Access variables and BusinessObjects from within a RichT

Post by HighAley »

Hello.

We have added ability to change size of the Rich Text Editor window.
Now we are working on the adding Dictionary tree.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Access variables and BusinessObjects from within a RichT

Post by PJoyeux »

Hi,

thank you for implementing this feature!

I just tested both in 2014.1.1809.0 and everything works.

Cheers,
Pascal
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Access variables and BusinessObjects from within a RichT

Post by Andrew »

Thank you for letting us know about this.
Post Reply