HTML text with parser and database freezes preview

Hi

I noticed, when adding HTML text with parser and database into my customized screen, it freezes preview totally even there is no scripts/data in element. When you resize you browser window, it allows then to browse your messages inside ticket. Version in question is 8.2 sr1.

Another thing happens with this element is, that in banner where beside the subject text is another column with ticket id etc. It is not anymore lined to the right, but columns is begins where subject ends. I mean, in default screen without this element, ticket id was in right side of the interface, but as soon as html element is added, it wil be placed regarding subject line.

How can i avoid those behaviors.

Thanks

RE: HTML text with parser and database freezes preview

Hi,

It sounds like your element is screwing up the HTML and/or javascript of the webpage. Do you get anything interesting if you open developers tools in your browser (preferably chrome)?

Sverre

Av: Sverre Hjelm 13. feb 2018

RE: HTML text with parser and database freezes preview

Thanks Sverre

I've got it to work but in strange way, as you can see from attachment the location of the edit entity menu is second from the bottom. However, in our 8.0 installation it is a second element. Is it ok, if i leave it to be as in snapshot?

Av: Ingar Mölder 14. feb 2018

RE: HTML text with parser and database freezes preview

There is no attachment here :)

Sverre

Av: Sverre Hjelm 14. feb 2018

RE: HTML text with parser and database freezes preview

Hi Sverre

Hopefully now it comes through :). Here is attachment. Let me know, if it still is not available.

Html text and parser element

regards

Ingar

Av: Ingar Mölder 15. feb 2018

RE: HTML text with parser and database freezes preview

Hi,

I cannot see any reason for why this field should destroy the page layout, except if you print out incorrrect (e.g. not terminated) HTML. Can you supply the content of the component as well?

Sverre

Av: Sverre Hjelm 15. feb 2018

RE: HTML text with parser and database freezes preview

Hello Sverre

I can not see any movement in developer window. I took a printscreen, how i tested it and shortly it is as follows:

When html text and parser element is second element:

1. after activating request and trying to scroll, it is not possible (clicking on message arrow will close it and open again)

2. after resizing window a bit, everything works like a charm again. No movement in developer window during resizement.

When i drag my html text and parser element to be second from the bottom, it works again. Can i leave it there even i've got instructions to keep in second from top?

request behavior with html element

thanks for help

regards

Ingar

Av: Ingar Mölder 15. feb 2018

RE: HTML text with parser and database freezes preview

Hi,

Difficult to figure out without testing. If you create a package of your screen and send me, I can debug it.

Sverre

Av: Sverre Hjelm 16. feb 2018

RE: HTML text with parser and database freezes preview

Hi, regarding the scrolling issue. We also have the same problem in two of our solutions.

We've used "HTML text with parser and database" to add some GUI to the "View Ticket" screen. Very often it is not possible to scroll, and we need to resize the window to get the scrolling to work.

Av: Frode Lillerud 16. feb 2018

RE: HTML text with parser and database freezes preview

Hi Sverre

Here is the linkt to xml package file. Thanks for helping me out with this one :).

https://granofi-my.sharepoint.com/:u:/g/personal/ingar_molder_grano_fi/EVgdvI0boDRHqcK6Hf0IxQsB1_J_fRTh9O1SbJbJKjIL8A?e=wW6NHB

regards

Ingar

Av: Ingar Mölder 19. feb 2018

RE: HTML text with parser and database freezes preview

Hi,

I see the error now. Should have seen it on the screen shot. You have placed your element as a child of the "Panel" element. Consequently, the Panel element has two children. But this element does not support proper resizing of multiple children. You must place your element as a child of an element that supports resizing multiple children: Element table, Vertical table or Element Table v2.

Since you already have an Element Table v2 in your screen, I suggest placing your Parser-element inside that one. I.e. move it one place up, and tell the parent how you want it sized (fixed size, remaining size, etc).

Sverre

Av: Sverre Hjelm 26. feb 2018

RE: HTML text with parser and database freezes preview

Hi Sverre,

in our case the problem is caused by the element highlighted in this screenshot.

Would adding a Element Table around elements 7 and 8 fix the problem, you think?

Av: Frode Lillerud 26. feb 2018

RE: HTML text with parser and database freezes preview

Hi Frode,

I'm not Sverre, but I always thought that Element Table was kinda mandatory inside a pane element (I know it works without, but labels and so on won't work if there're no Element Table, as far as I know).

Av: Simen Mostuen Iversen 27. feb 2018

RE: HTML text with parser and database freezes preview

Thanks Sverre.

I tested it underneeth other component, but it does not anymore behave as i expect to. I am referring to Simens reply to one of my request, where i wanted to show attachment icon in message row, without opening message first. Simen did help me with this and it worked for a while, until i upgraded environment into 8.2. 

Here is, what i am trying to to:

https://community.superoffice.com/en/technical/forum/rooms/topic/superoffice-product-group/customer-service/attachment-icon-in-message/

Thanks for help.

Av: Ingar Mölder 27. feb 2018

RE: HTML text with parser and database freezes preview

Frode: yes, you need to wrap these inside an Element table/v2. Otherwise our resizing will break.

Sverre

Av: Sverre Hjelm 2. mar 2018

RE: HTML text with parser and database freezes preview

Ok, I,ll tll try again, but I did that a few days ago, and then both the elements disappeared. I'll try again and show a screenshot.

Av: Frode Lillerud 2. mar 2018