<?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>I am trying to create a custom expression function plugin that creates a link to</title><link>https://community.appian.com/discussions/f/plug-ins/1011/i-am-trying-to-create-a-custom-expression-function-plugin-that-creates-a-link-to</link><description>I am trying to create a custom expression function plugin that creates a link to somewhere within Appian. Part of the URL requires the &amp;quot;appian_environment&amp;quot; parameter. Can someone tell me what function in the API can dynamically tell me what environment</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I am trying to create a custom expression function plugin that creates a link to</title><link>https://community.appian.com/thread/3385?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2013 00:55:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c49db69-25d7-4d91-822f-c7832721dde5</guid><dc:creator>jamesw353</dc:creator><description>I&amp;#39;m not sure about the API, but I use a rule to get the environment url for processes.  It&amp;#39;s under APN_getSiteUrl in the Appian Common Objects.  &lt;br /&gt;&lt;br /&gt;Rule Definition:&lt;br /&gt;extract(linktodocument(0, &amp;quot;doc&amp;quot;), &amp;quot;&amp;quot;&amp;quot;&amp;quot;, &amp;quot;doc/&amp;quot;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>