How to add application specific table columns to existing form?

jimmillet
Mega Guru

Hi,

I am new to scoped apps. In my app I have defined 5 new table columns for existing "global" table (specifically, cmdb_ci_business_app). I want to add these new fields to the form for this CI class, but when I am in the studio and try to add form to my app, and I select the cmdb_ci_business_app table, it presents a blank form. So the studio thinks I am trying to create a brand new form, when I am really just trying to add 5 new fields to the existing form.  Any help would be appreciated. Since this new "app" has parts that are legacy (ie. gobal) and only a few parts that are part of new scoped app, I am really struggling. The form issue I described was just the first obstacle I have run into, sure there will be more as I proceed with development. Thanks in advance for help.

6 REPLIES 6

Alikutty A
Tera Sage

Hello,

You can navigate to the business app table on the platform view, create a new section or view in your scope and then add your scoped application fields from this view instead of Studio. Just make sure you have selected your Application in the picker.

Thanks!

I think I read it wrong, You need to create the fields on the business application table in a new form section or form view. The fields in your application scope cannot be added in the global scope layout. If you want the same data to be displayed, then create new fields on the business app table and copy the data from your custom table,  via business rules from your custom scope. This would require changes to the table accessing settings in global scope.

Ravi T
Tera Guru

Hi 

In the Application navigator type

cmdb_ci_business_app.list

 

The list view will get opened

Click on new

Then business application(new Record ) will be opened

Then click on context Menu > configure > Form Layout 

There You can add your new  fields , Use slush bucket to move them according you requirment

 

You can also do it by 

 click on context Menu > configure > Form Design

select the field Types 

Drag which type of fields you want to create /you can create sections as well here

 

Mark it correct/helpful if it helps you

Regards

Ravindra 

jimmillet
Mega Guru

Thanks for quick replies. Sounds like I do all this work outside the Studio and right in Configure > Form Layout, like I would do for any form update. I was thinking everything done for the new application had to be done in Studio. I am still very unclear how this mix of work done in the Studio for new items and updates to legacy items gets picked up by update set, but that is a question to ponder on another day.

I want to address one comment that I saw in one post......"....and copy the data from your custom table". My application does not have any custom table. Well, if you consider an import set table. Basically this app will accept REST calls from external client application into import set row table and then pass thru transform map into cmdb_ci_business_app table (which is pre-existing cmdb table). The data coming in through the transform will be populating some existing attributes in this CMDB table, as well as the newly defined attributes that I created in Studio.

 

Jim