<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to make an already created custom table extend another custom table? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223442#M875426</link>
    <description>&lt;P&gt;It shouldn't matter - run it in global and you won't have to worry about running it again, as the change will be made to your application.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 21 Dec 2016 01:26:33 GMT</pubDate>
    <dc:creator>paulmorris</dc:creator>
    <dc:date>2016-12-21T01:26:33Z</dc:date>
    <item>
      <title>How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223425#M875409</link>
      <description>&lt;P&gt;How to make an already created custom table extend another custom table?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 09:39:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223425#M875409</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-11T09:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223426#M875410</link>
      <description>&lt;P&gt;Here is a script to extend an existing table.&lt;/P&gt;&lt;BR /&gt;&lt;H3&gt;Important Notes&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Always test first in a test or development ServiceNow instance&lt;/LI&gt;&lt;LI&gt;This script does work with tables with data in them, however I suggest only running this on new or empty tables.&lt;/LI&gt;&lt;LI&gt;This is a manual step and isn't captured in an update set.&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Steps to extend table&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Elevate your privileges to security admin &lt;/LI&gt;&lt;LI&gt;In scripts - background run this script (replacing variables as needed)&lt;/LI&gt;&lt;/OL&gt;&lt;PRE style="margin-left: 40px;"&gt;//Replace &amp;lt;source_table&amp;gt; with the table you want to extend &lt;BR /&gt;//Replace &amp;lt;table_extension&amp;gt; with the table you want to extend to, like cmdb_ci or task &lt;BR /&gt;var table = '&amp;lt;source_table&amp;gt;'; &lt;BR /&gt;var old_parent = ''; &lt;BR /&gt;var new_parent = '&amp;lt;table_extension&amp;gt;'; &amp;nbsp; &lt;BR /&gt;var changer = new GlideTableParentChange(table); &lt;BR /&gt;changer.change(old_parent, new_parent);&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Dec 2015 10:00:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223426#M875410</guid>
      <dc:creator>kumarg</dc:creator>
      <dc:date>2015-12-11T10:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223427#M875411</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have been trying script it from many days. But I get this message when I run the script-&amp;gt; &lt;EM&gt;&lt;STRONG&gt;Hierarchy change for u_cpar ignored because new base table 'u_business_services' does not have (but needs) a sys_class_name field&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;we can extend inbuilt tables using this script, but not custom tables. Is there any other way which we can make this script work?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2015 10:11:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223427#M875411</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-11T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223428#M875412</link>
      <description>&lt;P&gt;Hi Upasana,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;1. Deactivate the business rule "Table Field Validation".&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;2. In the list View extend the custom table.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;3. Finally activate the business rule "Table Field Validation".&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="data:" style="max-width: 1200px; max-height: 900px; float: right;" /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2015 10:33:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223428#M875412</guid>
      <dc:creator>Vinobalu</dc:creator>
      <dc:date>2015-12-11T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223429#M875413</link>
      <description>&lt;P&gt;I did, but it deleted all the existing records. Is there any way to get the records back?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2015 11:11:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223429#M875413</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-11T11:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223430#M875414</link>
      <description>&lt;P&gt;hi Upasana,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;there is module called..&lt;STRONG&gt;deleted records&lt;/STRONG&gt;..in that filter records with your table name..select all records..go down to list dropdown actions..there will be undelete option.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;i hope it helps.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2015 14:04:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223430#M875414</guid>
      <dc:creator>Rushit Patel2</dc:creator>
      <dc:date>2015-12-11T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223431#M875415</link>
      <description>&lt;P&gt;Hi Rushit,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I tried the same, but no records were found there. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2015 14:52:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223431#M875415</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-11T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223432#M875416</link>
      <description>&lt;P&gt;Before you extend the table export all the data in excel and then you extend the table. After &amp;nbsp; extended import the data once again.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Dec 2015 18:37:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223432#M875416</guid>
      <dc:creator>Vinobalu</dc:creator>
      <dc:date>2015-12-11T18:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223433#M875417</link>
      <description>&lt;P&gt;its already deleted. can we get it back by raising a HI request?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 10:01:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223433#M875417</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-12T10:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223434#M875418</link>
      <description>&lt;P&gt;Hi Upasana,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Your records are not deleted so you won't get those in the deleted records module. As you have modified the table it extends the records are not shown here but they are still present in the table it was extending.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;To get the records back try setting the 'extends table' field value of the extending table back to what it was earlier. This will show you the records back in the table.&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Export all the records in excel and then do what you want.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;But instead of changing the 'extends table' value of already existing table I would recommend deleting this table and creating exact table again(this time extending the table which you want) and then import the excel you exported earlier into this table. To extend any table make sure the extensible field is checked on that table you want to extend.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Follow these steps after taking excel export-&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;1. Go to System Definition &amp;gt; Tables.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;2. In the list view set the extensible to true for the table which you want to extend.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;3. Create the deleted table again(as told above) this time extending the table in step 2.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;4. Import your data into your new table using Easy Import.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Tanaji Patil&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--Mark correct/helpful if it helps solving your issue.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 10:37:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223434#M875418</guid>
      <dc:creator>Tanaji Patil</dc:creator>
      <dc:date>2015-12-12T10:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223435#M875419</link>
      <description>&lt;P&gt;Hi Tanaji,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am not able to view the records after changing the extended table back to what it was earlier. It showed unique key vioalation.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:05:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223435#M875419</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-12T11:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223436#M875420</link>
      <description>&lt;P&gt;Please delete data/customization added after you changed the extends table value and try.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:13:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223436#M875420</guid>
      <dc:creator>Tanaji Patil</dc:creator>
      <dc:date>2015-12-12T11:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223437#M875421</link>
      <description>&lt;P&gt;No customization was done. Though its showing error, it should have shown the list of records right?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:34:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223437#M875421</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-12T11:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223438#M875422</link>
      <description>&lt;P&gt;Yes it should show the records. Hope you are making 'Table Field Validation' BR active false and setting the 'extends table' value to exactly what it was when the records were created.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I checked again on demo021 and I was right. It shows the records back.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Tables used are Table 1 and Table 2.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If this is not helping you then you should go with raising HI ticket.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Tanaji Patil&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--Mark correct/helpful if it helps you solving your issue.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:45:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223438#M875422</guid>
      <dc:creator>Tanaji Patil</dc:creator>
      <dc:date>2015-12-12T11:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223439#M875423</link>
      <description>&lt;P&gt;yes, i will try to resolve. if not will raise a HI ticket. Thank you &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="8_393_16_16" src="https://www.servicenow.com/8.0.1.35b65d4/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2015 19:15:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223439#M875423</guid>
      <dc:creator>UPASANA2</dc:creator>
      <dc:date>2015-12-12T19:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223440#M875424</link>
      <description>&lt;P&gt;You did it in your DEV environment so you can always clone PROD back into DEV and run the exercise again.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Dec 2015 01:56:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223440#M875424</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2015-12-14T01:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223441#M875425</link>
      <description>&lt;P&gt;Great script but it doesn't work in scoped apps&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2016 18:07:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223441#M875425</guid>
      <dc:creator>verdakosnett</dc:creator>
      <dc:date>2016-12-15T18:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223442#M875426</link>
      <description>&lt;P&gt;It shouldn't matter - run it in global and you won't have to worry about running it again, as the change will be made to your application.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Dec 2016 01:26:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223442#M875426</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2016-12-21T01:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223443#M875427</link>
      <description>&lt;P&gt;It worked for me in Istanbul instance. Both my tables are newly created and then made one of the table as parent to another table. Good script. Thank you&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:38:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223443#M875427</guid>
      <dc:creator>ranjanireddy</dc:creator>
      <dc:date>2018-01-15T10:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an already created custom table extend another custom table?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223444#M875428</link>
      <description>&lt;P&gt;Customer's should not be using this API. If you do so it is at your own will. If something like this is needed please consult support. Do not perform this action on your own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Staff Technical Support Engineer&lt;/P&gt;
&lt;P&gt;Chris Lo&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 16:55:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-make-an-already-created-custom-table-extend-another/m-p/2223444#M875428</guid>
      <dc:creator>chris_lo</dc:creator>
      <dc:date>2018-09-11T16:55:49Z</dc:date>
    </item>
  </channel>
</rss>

