How to render table form without the header and footer in a UI page

Mahathi Nalluri
ServiceNow Employee

We are trying to render the platform form view in a UI page. We just want the fields with in the form to be displayed without the header and footer section that has the UI actions.

One approach that we tried is to render it in an iframe, and using jQuery added CSS to hide the header and footer.

Are there any other recommended ways to do it?

 

Ankur Bawiskar
Tera Patron

Hi,

can you share your business requirement around this?

yes it can be shown via iframe but it would add the header and footer

please share with screenshot what is not required in that iframe?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

There is a custom UI page in which instead of creating own forms, we are planning to utilise the platform forms.

find_real_file.png

 

Highlighted sections are the ones that we do not want

Hi,

If you're just wanting to render a record form view in a UI view style pop-up you can use GlideModalForm

As an example, the following is the sys_user table without the usual header and footer that loads within an incident view.

find_real_file.png

Hi Kieran,

We don't want to render it in a popup