<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Database View In A Web API</title><link>https://community.appian.com/discussions/f/integrations/21655/database-view-in-a-web-api</link><description>I&amp;#39;m trying to expose a view from the Appian DB via a Web API. 
 The Web API requires a Data Store Entity Constant. So I try to create a constant with a Data Store Entity type, but I need a Data Store Entity created with the View Data Type. I create the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Database View In A Web API</title><link>https://community.appian.com/thread/84686?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 17:14:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3141b283-f521-4e8e-91b0-a64e4a61743c</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;I looked at that but didn&amp;#39;t see anywhere that a view needed to have a unique identifier as well in order for it to be added to a Data Store.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database View In A Web API</title><link>https://community.appian.com/thread/84685?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 17:13:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9ed83dc-2830-4c27-bd75-18c1ef459b60</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;I realized that the CDT definition needed to have a a unique identifier as this link explains:&amp;nbsp;&lt;a title="View CDT" href="/discussions/f/process/5818/having-trouble-getting-my-data-store-for-views-to-map-a-data-type-to-an-existing" rel="noopener noreferrer" target="_blank"&gt;https://community.appian.com/discussions/f/process/5818/having-trouble-getting-my-data-store-for-views-to-map-a-data-type-to-an-existing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I edited my CDT and added a primary key to one of my columns (a unique column) and it worked.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database View In A Web API</title><link>https://community.appian.com/thread/84682?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 17:06:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7edf24cd-84e0-4102-8b62-f35293d096ac</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you follow this?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.2/Mapping_CDTs_to_Pre-defined_Database_Tables.html#create"&gt;docs.appian.com/.../Mapping_CDTs_to_Pre-defined_Database_Tables.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>