<?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>If I develop a Smart Service plugin, I can pass in a javax.naming.Context object</title><link>https://community.appian.com/discussions/f/rules/4396/if-i-develop-a-smart-service-plugin-i-can-pass-in-a-javax-naming-context-object</link><description>If I develop a Smart Service plugin, I can pass in a javax.naming.Context object using Constructor, the Context object can be used to lookup the data source connection. But when I develop Function plugins, can I also pass the Context object in Constructor</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: If I develop a Smart Service plugin, I can pass in a javax.naming.Context object</title><link>https://community.appian.com/thread/15856?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 18:41:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:959ec6ec-7b20-4507-813e-d90dba62792b</guid><dc:creator>venkats533</dc:creator><description>Then you better develop a function plugin which will create the document from BLOB and return a document id. Then a download link can be given in the SAIL script&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: If I develop a Smart Service plugin, I can pass in a javax.naming.Context object</title><link>https://community.appian.com/thread/15855?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 18:28:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db321c0a-e029-43da-b7ae-f3ca0dc05d12</guid><dc:creator>guozhangy</dc:creator><description>Thanks all.&lt;br /&gt;&lt;br /&gt;We want to have a link in the SAIL form, the link should download file from database and present to the user, while RDBMS Blob Utility can only be used in a Process Modal.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: If I develop a Smart Service plugin, I can pass in a javax.naming.Context object</title><link>https://community.appian.com/thread/15845?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 09:12:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3111437c-b545-4751-9d2c-5fb0a39ad5fb</guid><dc:creator>venkateswarai917</dc:creator><description>If we want to use the database connections, Better to use the JNDO Lookup.. this is the best practice..&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: If I develop a Smart Service plugin, I can pass in a javax.naming.Context object</title><link>https://community.appian.com/thread/15836?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2015 19:46:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36338f50-2f15-4dbf-857b-1efeffe8fb1b</guid><dc:creator>venkats533</dc:creator><description>ServiceContext should be first argument in the constructor.  Yes, if required JDBC connection can be invoked from plug-in code.  Try to minimize or avoid JDBC connections as you loose flexibility and increases maintenance in terms of configuration.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: If I develop a Smart Service plugin, I can pass in a javax.naming.Context object</title><link>https://community.appian.com/thread/15814?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2015 05:16:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c434bc5-ad31-4efd-995b-31f68dd6a77c</guid><dc:creator>Eduardo Fuentes</dc:creator><description>There&amp;#39;s an example in this plug-in &lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i4BWsQdLlzKy55h8z8zJ0sPqpDWFrba9r-_wh9ZP_jxqoWJv0AsVp9xtGTfNPRf/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt; The source code is inside the JAR and it&amp;#39;s called ExecuteQuery.java&lt;br /&gt;&lt;br /&gt;I would be really cautious with this, not sure what you are going to do with the retrieved data but if you&amp;#39;re going to create a document in Appian with it you better use the RDBMS Blob Utility plug-in &lt;a href="https://forum.appian.com/suite/tempo/records/type/components/item/i8BWsQdLlzKy55h8z8zJ0sPqpDWFrba_bpZTL-YTOMJ6FfHBzcNgCRRrNYBRZoJWw/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>