<?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>Get package content</title><link>https://community.appian.com/discussions/f/administration/28483/get-package-content</link><description>Hi, 
 A situation that arise frequently is that there are several issues open, and two or more of them include same interface, rule or any other kind of appian object. Deveoppers assigned to each issue made necessary changes and usually they coordinate</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get package content</title><link>https://community.appian.com/thread/111905?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 16:35:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c4974c9e-6c51-499b-96dd-3c769ea7eb49</guid><dc:creator>Luis Ripoll Morales</dc:creator><description>&lt;p&gt;Thank you all.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once I&amp;#39;ve realized that, at this moment, ther is no way to retrieve packages content programmatically, I&amp;#39;ve done something on MS Excel based upon Export log file you can get manually when you are exporting a package. These export log files includes package content and they can be easily imported to an Excel sheet.&lt;/p&gt;
&lt;p&gt;So, I import on&amp;nbsp;the same excel sheet every package I have on going, and can compare the contents before deployment.&lt;/p&gt;
&lt;p&gt;That wasn&amp;#39;t my first idea, but it meets my goal.&lt;/p&gt;
&lt;p&gt;Thanks again, I appreciate the time you get to answer me.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get package content</title><link>https://community.appian.com/thread/111813?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 13:27:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:147ddd19-c3c9-4daf-8004-91a2326980c4</guid><dc:creator>R&amp;#243;mulo</dc:creator><description>&lt;p&gt;Hi Jesus,&lt;br /&gt;&lt;br /&gt;This is a post deployment operation. It looks like the use case Luis is looking for is before that (avoid summit unnecessary objects).&lt;br /&gt;&lt;br /&gt;However, could be interesting for Luis using the function &lt;span style="color:#0000ff;"&gt;a!toDeployment() &lt;span style="color:#000000;"&gt;after reviewing&amp;nbsp;them.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Cheers,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;R&amp;oacute;mulo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get package content</title><link>https://community.appian.com/thread/111810?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 13:10:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1bc48986-f8ea-40b3-b833-ee6ab51e0efd</guid><dc:creator>Jes&amp;#250;s Hormigos</dc:creator><description>&lt;p&gt;This would be a way to obtain that:&lt;/p&gt;
&lt;p&gt;1- Obtain the zip&amp;nbsp;document using a!deployment(&amp;lt;UUID&amp;gt;,&amp;quot;objectsPackageId&amp;quot;)&lt;/p&gt;
&lt;p&gt;2- Go to content folder&lt;/p&gt;
&lt;p&gt;3- Every xml file is an object contained in the package, so you can iterate using getcontentdetailsbyuuid(&amp;lt;NAME_DOC&amp;gt;)&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get package content</title><link>https://community.appian.com/thread/111733?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 15:03:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55eb36e4-b13a-46f8-821c-652db941386f</guid><dc:creator>R&amp;#243;mulo</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/luisr0004"&gt;Luis Ripoll Morales&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;Assuming that your idea it is possible (which unfortunately is not at this moment, there&amp;#39;s not native way to retrieve package contents programmatically) probably you will encounter problems comparing packages, mainly because you could have the same object in different package throughout the history (if you dont delete them). A date filter it helps likely; however, could be not accurate enough. I propose you consider these options:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Option 1 - App Read File Fuctions&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#008000;"&gt;Detail&lt;/span&gt;:&amp;nbsp;Create an application that allows upload the packages exported files (patches, or content / processModel folder) and can read it using fuctions like&amp;nbsp;&lt;span style="color:#0000ff;"&gt;xpathdocument()&lt;/span&gt;,&amp;nbsp;&lt;span style="color:#0000ff;"&gt;readtextfromfile(). &lt;span style="color:#000000;"&gt;Then, you can compare it and decide about it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#008000;"&gt;Pros:&lt;/span&gt; You can compare between several packages + Easy to build + You can leverage design-guidance.json file to expand the recommendations/info that you show to the developers.&lt;br /&gt;&lt;span style="color:#008000;"&gt;Cons: &lt;span style="color:#000000;"&gt;Manually upload the package.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Option 2 - Design and Integrate a Jenkins pipeline&lt;/strong&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="color:#008000;"&gt;Detail&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span&gt;Design a DevOps model (using Jenkins for example) where you can use the steps to evalute conditions. In your case, evaluate if the objetcs you are upgrading are already deployed.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#008000;"&gt;Pros:&lt;/span&gt;&lt;span&gt;&amp;nbsp;More flexible and strong DevOps pipeline.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="color:#008000;"&gt;Cons:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:#000000;"&gt;External technology + no basic implementation&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Option 3 - Enable Government DepOps&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#008000;"&gt;Detail&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span&gt;Go to Admin Console / DevOps / Infrastructure and enable requiere review (create a group DevOps first).&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#008000;"&gt;Pros:&lt;/span&gt;&lt;span&gt;&amp;nbsp;Easiest implementation + User Notification&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="color:#008000;"&gt;Cons:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color:#000000;"&gt;You have to compare manually the packages.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hope it helps,&lt;br /&gt;&lt;br /&gt;R&amp;oacute;mulo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get package content</title><link>https://community.appian.com/thread/111719?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 11:17:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8979313-3701-4768-be78-28a6f62b5069</guid><dc:creator>tushark6475</dc:creator><description>&lt;p&gt;AFAIK, there is no way to keep track of unnecessary deployed items in the upper environment. And if you are looking to create another application to keep track of ongoing packages, then this will be more complex to keep both applications synced as there is no way to easily reflect changes from one application to another.&amp;nbsp;&lt;br /&gt;If in case of unwanted deployed packages, just deploy the package with the right objects and the changes will be reflected on the higher environment.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get package content</title><link>https://community.appian.com/thread/111713?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 10:43:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7085ceed-0b65-456d-a61e-84a0288832b3</guid><dc:creator>vigneshkumarr</dc:creator><description>&lt;p&gt;Hi Luis,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;two or more of them include same interface,&amp;nbsp;rule or any other kind of appian object. -&amp;gt; In this case you can use version history to avoid this type of issues.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This application act as a ongoing package inventory and&amp;nbsp;should be able to compare contents of each packages in order to warn about objects that were part of more than one package. -&amp;gt; In this&amp;nbsp;case you can use Inspect button at the time of package deployment before using of Import button directly.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vigneshkumar Radhakrishnan&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>