Question

How to get SysModuleId of section in detail edit page?

Dear community,

 

I have a case where I need to get the section's id that the detail belongs to in detail edit page. While var sectionName: this.get("DetailColumnName"); gives me the code of the section, it would be easier to process logic if I could get the section's Id in SysModule table.



Would appreciate your help!

Thanks

Like 0

Like

1 comments

Hi Shivani,

 

You can initiate the ESQ query on the onEntityInitialized method execution on the edit page of your detail and call the SysSchema table using the detail column name so to get the UId of the section schema and then call the SysModule table to get the module id (the column in SysModule is SectionSchemaUId).

 

Best regards,

Oscar

Show all comments