9 Replies · Latest reply on Oct 24, 2017 8:37 AM by Chuck Tomasi

    Promotingcolumn in Jakarta

      Hello Everyone,

      I have tried to promote the field from 'child table' to 'parent table' using below script, but it is creating a field in all the extended tables

       

      GlideDBUtil.promoteColumn('childtable', 'parenttable', 'fieldname', true);

       

      Example : Consider, I am promoting field from 'host' to 'cmdb_ci' > the expected field got created in all the tables which are all got extended from cmdb_ci.

       

      Kindly share your valuable inputs to perform field promotion in Jakarta.

       

      Thanks in Advance!

      Regards,

      Narendran

       

       

      promoteColumn

      consider

       

        • Re: Promotingcolumn in Jakarta
          Chuck Tomasi

          When you say that it got created on all tables, are you referring to the fact that you can access it from all tables (like a normal base class should) or do you see a field cmdb_ci.host, cmdb_ci_hardware.host, cmdb_ci_computer.host in the sys_dictionary table?

           

          Screenshots would be helpful here.

          --Chuck Tomasi
          --Sr. Technical Product Marketing Mgr, Now Platform
          --Join me on the Community live stream (most) weekdays at 8:00AM ET
          --https://youtube.com/user/servicenowcommunity