<?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>Iam trying fetch data to be displayed in a grid from a table which is in externa</title><link>https://community.appian.com/discussions/f/user-interface/6488/iam-trying-fetch-data-to-be-displayed-in-a-grid-from-a-table-which-is-in-externa</link><description>Iam trying fetch data to be displayed in a grid from a table which is in external Database (not in Appian environment). We have data source name for it and stored procedure name but no other details. The current functionality is in Portal, where we are</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Iam trying fetch data to be displayed in a grid from a table which is in externa</title><link>https://community.appian.com/thread/25588?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2015 05:30:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55dcb99c-d99e-480e-bb1f-7b1fb6ffbc75</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Ok that&amp;#39;s progress. Since you&amp;#39;re now usoing the schema name you are no longer receiving: &amp;quot;No procedure found with name: sp_Examples&amp;quot; which is good.&lt;br /&gt;&lt;br /&gt;Now to verify why it is not returning data you can increase the logging level of the function so that the logs show you something useful; the WARN you posted is not related.&lt;br /&gt;&lt;br /&gt;Just add this line to &amp;lt;APPIAN_HOME&amp;gt;\\ear\\suite.ear\\resources\\appian_log4j.properties at any location, e.g. line 20&lt;br /&gt;&lt;br /&gt;log4j.logger.com.appiancorp.ps.function=DEBUG&lt;br /&gt;&lt;br /&gt;wait 5 minutes and try again.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Iam trying fetch data to be displayed in a grid from a table which is in externa</title><link>https://community.appian.com/thread/25521?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 15:09:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84587977-e1f9-44a3-be50-a1278b69513f</guid><dc:creator>divyav</dc:creator><description>Thanks for the above details.&lt;br /&gt;We have tried providing schema name. Procedure name and able to establish connection with the stored procedure, but it is returning blank data.&lt;br /&gt;When searched in Application-server logs, we are getting &lt;br /&gt;&amp;quot;07:54:29,924 INFO  [stdout] (http-/0.0.0.0:8080-9) 2015-12-14 07:54:29,924 [http-/0.0.0.0:8080-9] WARN  com.appiancorp.common.monitoring.SailAggregatedDataCollector - recordTime called for an unknown endpoint.  This means SAIL X-Ray logging is not fully implemented for that endpoint&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Iam trying fetch data to be displayed in a grid from a table which is in externa</title><link>https://community.appian.com/thread/25507?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 05:58:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef538ce8-8ab1-4716-ad09-b3e022b8246b</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Try passing the stored procedure name with the schema prefix too. For example, if the stored procedure was created using schema &amp;quot;appianschema&amp;quot;, pass its name as:&lt;br /&gt;&lt;br /&gt;appianschema.sp_Examples&lt;br /&gt;&lt;br /&gt;also make sure the account used to connect Appian with your RDBMS has access to &amp;quot;see&amp;quot; this stored procedure.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Iam trying fetch data to be displayed in a grid from a table which is in externa</title><link>https://community.appian.com/thread/25466?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 15:13:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:909ddf19-a6be-4be5-8444-5fb1931e8318</guid><dc:creator>divyav</dc:creator><description>Thank you for providing the Plugin and function details&lt;br /&gt;&lt;br /&gt;We have installed that jar file in our environment and I tried using the executestoredprocedurefunction in interface, but it is throwing error as &amp;quot;No procedure found with name: sp_Examples&amp;quot;&lt;br /&gt;&lt;br /&gt;Code I have used for creating stored procedure is &lt;br /&gt;CREATE OR REPLACE PROCEDURE sp_Examples(X IN OUT NUMBER) AS&lt;br /&gt;        T NUMBER;&lt;br /&gt;      BEGIN&lt;br /&gt;        T := X;&lt;br /&gt;      &lt;br /&gt;     END sp_Examples;  &lt;br /&gt;   /&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;   DECLARE&lt;br /&gt;   A NUMBER:= 10;&lt;br /&gt;   &lt;br /&gt;   BEGIN&lt;br /&gt;     sp_Examples(A);&lt;br /&gt;     DBMS_OUTPUT.PUT_LINE(&amp;#39;A = &amp;#39; || TO_CHAR(A));&lt;br /&gt;    END;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Code used for executestoredprocedure function is&lt;br /&gt;&lt;br /&gt;with(&lt;br /&gt;    local!spResult:fn!executestoredprocedure(&amp;quot;name of our data source&amp;quot;,&lt;br /&gt;   &amp;quot;sp_Examples&amp;quot;,&lt;br /&gt;{{name:&amp;quot;X&amp;quot;,value:1}}&lt;br /&gt;),&lt;br /&gt;if(local!spResult.success,local!spResult.result,local!spResult.error)&lt;br /&gt;)&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Iam trying fetch data to be displayed in a grid from a table which is in externa</title><link>https://community.appian.com/thread/25418?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 09:26:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa63114e-bf5a-43d8-957c-84e948ebfc12</guid><dc:creator>Eduardo Fuentes</dc:creator><description>The latest version of the plug-in has a function to call a store procedure as an option instead of the smart service &lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5C8ZhL3Yukyv6zRTk30LjvusuVlHbS9BJg/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>