Question

Dynamic layout with labels left not showing correctly in HTML rule

I want to show a few properties with labels left in a HTML rule. The result is that the labels and properties are shown underneath eachother.

It is shown like this:

Object Class of this instance

@baseclass

Create Operator

aa236695

And it needs to be shown like this:

Object Class of this instance @baseclass

Create Operator aa236695

The section that is included in the HTML rule is using a Dynamic Layout (Stacked with labels left). Do I need to include specific HTML fragments in the HTML rule?

Comments

Keep up to date on this post and subscribe to comments

September 30, 2019 - 11:37am

Can you please share

1) What PRPC version you are using? so that I can try the same and update.

2) Do you see the same issue when you are doing Preview of the section.

October 1, 2019 - 5:57am
Response to Rachit_Agarwal

Hi Rachit, 

The version we use is 7.2.

And I don't see the issue in the preview of the section. There it looks okay.

Do I need to set a custom CSS class in the advance options on the Presentation tab of the Dynamic Layout properties? 

Pega
September 30, 2019 - 1:16pm

Hi, if the section that is included in your HTML rule runs and shows the values fine in its preview, then you may want to check and tweak the html code that is including the section. Better yet, you may stay away from non-auto generated HTML. Thanks  

October 1, 2019 - 9:18am

Can you attach screen shots , marking what is shown vs what is expected?

October 2, 2019 - 10:41am
Response to Krithiga_GCS

See attached document.

October 2, 2019 - 10:45am
Response to MarcH827

See attached document

October 16, 2019 - 1:04am
Response to Krithiga_GCS

Hi Krithiga, are the screen shots helping you?

Pega
October 2, 2019 - 3:26pm

Hi Marc

Can you look at the markup to see if there are <br> or newline or equivalent tags in between? If so, you could try to use what used to be the equivalent of <nobr> tags with its css equivalent. See this link to learn more.

https://davidwalsh.name/nobr-css

 

October 3, 2019 - 10:10am
Response to mahab_GCS

Hi, I don't use any HTML markup in this situation. We only want to use the standard way a section is included in a HTML rule. See attached file with screen prints.