<?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: Combine two fields into one in Database view in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034398#M691324</link>
    <description>&lt;P&gt;Hmm. I did not create any field for the number but this is what I see from the table of the view&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61326i81D70BF0545D21DF/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/61326i81D70BF0545D21DF/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jul 2018 10:39:00 GMT</pubDate>
    <dc:creator>tsoct</dc:creator>
    <dc:date>2018-07-11T10:39:00Z</dc:date>
    <item>
      <title>Combine two fields into one in Database view</title>
      <link>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034396#M691322</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have created a view containing two tables Problem and Incident. Both&amp;nbsp;tables contain a number field, so database view also shows two fields having the same label called 'Number'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to combine two fields into one field?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ex: inc_number + prb_number --&amp;gt;&amp;gt; incprb_number&lt;/P&gt;
&lt;P&gt;**I know I can get both fields combined in parent table =TASK. But running the report using TASK table is not giving me the custom fields that I have created in Incident &amp;amp; problem table. Hence I need to create a view for this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:24:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034396#M691322</guid>
      <dc:creator>tsoct</dc:creator>
      <dc:date>2018-07-11T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two fields into one in Database view</title>
      <link>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034397#M691323</link>
      <description>&lt;P&gt;The number field is extended from task so it should only show as 1 field, have you created custom fields on INC and PRB called inc_number and prb_number?&lt;/P&gt;
&lt;P&gt;You won't be able to combine fields in a database view but, if you have created custom number fields, you could copy back the value of those fields to task.number and then use that field in your report.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:31:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034397#M691323</guid>
      <dc:creator>Dubz</dc:creator>
      <dc:date>2018-07-11T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two fields into one in Database view</title>
      <link>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034398#M691324</link>
      <description>&lt;P&gt;Hmm. I did not create any field for the number but this is what I see from the table of the view&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/61326i81D70BF0545D21DF/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/61326i81D70BF0545D21DF/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:39:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034398#M691324</guid>
      <dc:creator>tsoct</dc:creator>
      <dc:date>2018-07-11T10:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two fields into one in Database view</title>
      <link>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034399#M691325</link>
      <description>&lt;P&gt;Ah ok the database view must create those fields to avoid ambiguity.&lt;/P&gt;
&lt;P&gt;I just tried running a report on task and i have access to all the custom field i have on incident and problem. There is a list of fields in red with the field name and the table in brackets after it eg 'service affecting (problem)', are your custom field not available there?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/s/skins/images/BD394C17D5071AFBDD57FF4E36AEBE44/responsive_peak/images/image_not_found.png" srcset="/community/s/skins/images/BD394C17D5071AFBDD57FF4E36AEBE44/responsive_peak/images/image_not_found.png 1.0x" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/s/skins/images/BD394C17D5071AFBDD57FF4E36AEBE44/responsive_peak/images/image_not_found.png" srcset="/community/s/skins/images/BD394C17D5071AFBDD57FF4E36AEBE44/responsive_peak/images/image_not_found.png 1.0x" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:56:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034399#M691325</guid>
      <dc:creator>Dubz</dc:creator>
      <dc:date>2018-07-11T10:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Combine two fields into one in Database view</title>
      <link>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034400#M691326</link>
      <description>&lt;P&gt;I have the impression that i wont be able to see custom fields in TASK table.. but now I see all...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 11:10:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/combine-two-fields-into-one-in-database-view/m-p/2034400#M691326</guid>
      <dc:creator>tsoct</dc:creator>
      <dc:date>2018-07-11T11:10:55Z</dc:date>
    </item>
  </channel>
</rss>

