<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Qadeer Hussain's Activities</title><link>https://communities.bentley.com/members/c6358bd5_2d00_39fb_2d00_47f5_2d00_8345_2d00_1f37d5fa43ea</link><description>Qadeer Hussain's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Populate ProjectWise System Attribute value in an Environment attribute</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-di-forum/195681/populate-projectwise-system-attribute-value-in-an-environment-attribute</link><pubDate>Thu, 16 Apr 2020 20:50:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e1fd0871-80b6-4c6f-981b-e32323b24738</guid><dc:creator>Qadeer Hussain</dc:creator><description>&lt;p&gt;I want to update value of system attribute STATE in an Environment attribute. For Example If STATE is IN PROGRESS then this should update into an Environment Attribute. I thought System variable will have this value but it is not so it look like I will need a SQL select statement. Can someone help me out please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Update Document Description of multiple documents with different values</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/177716/update-document-description-of-multiple-documents-with-different-values</link><pubDate>Thu, 04 Apr 2019 17:11:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:51180e35-5f7e-4045-b5a0-7c231244f387</guid><dc:creator>Qadeer Hussain</dc:creator><description>&lt;p&gt;I need to update value in Document Description attribute of multiple documents. Each document description value is different so I&amp;nbsp;want &amp;nbsp;to use a PowerShell Script using Update-PWDocumentProperties. Can someone help me to create PowerShell script to update document Description of multiple documents when description value is different for each document.&lt;/p&gt;
&lt;p&gt;I have tried to use following script but it is not updating the Document description even I am not getting any error.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Objects&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;import-csv&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;ldquo;C:\UpdateAttributes.csv&amp;rdquo;&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;ndash;header&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"&gt;doc1&lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;,&lt;/span&gt;&lt;span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"&gt;Description&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-delimiter&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;#39;|&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"&gt;ForEach&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; (&lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Object&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"&gt;in&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Objects&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt;){&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc1&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; $(&lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Object&lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;.&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt;doc1)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Description&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; $(&lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Object&lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;.&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt;Description)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Get-PWDocumentsBySearch&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-FolderPath&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;quot;Projects\Project_TEST\800 Training\TEST&amp;quot;&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-DocumentName&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Update-PWDocumentProperties&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-InputDocument&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Get-PWDocumentsBySearch&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-FolderPath&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;quot;Projects\&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;Project_TEST&lt;/span&gt;\800 Training\TEST&amp;quot;&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;|&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Foreach&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-MemberName&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Description&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Update document Description using CSV file</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/177715/update-document-description-using-csv-file</link><pubDate>Thu, 04 Apr 2019 17:09:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3eedd2d6-d682-4e77-bdbc-e08ed6435a26</guid><dc:creator>Qadeer Hussain</dc:creator><description>&lt;p&gt;I need to update value in Document Description attribute of multiple documents. Each document description value is different so I&amp;nbsp;want &amp;nbsp;to use a PowerShell Script using Update-PWDocumentProperties. Can someone help me to create PowerShell script to update document Description of multiple documents when description value is different for each document.&lt;/p&gt;
&lt;p&gt;I have tried to use following script but it is not updating the Document description even I am not getting any error.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Objects&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;import-csv&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;ldquo;C:\UpdateAttributes.csv&amp;rdquo;&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;ndash;header&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"&gt;doc1&lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;,&lt;/span&gt;&lt;span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"&gt;Description&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-delimiter&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;#39;|&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"&gt;ForEach&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; (&lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Object&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"&gt;in&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Objects&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt;){&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc1&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; $(&lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Object&lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;.&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt;doc1)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Description&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; $(&lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Object&lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;.&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt;Description)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;=&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Get-PWDocumentsBySearch&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-FolderPath&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;quot;Projects\Project\800 Training\TEST&amp;quot;&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-DocumentName&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Update-PWDocumentProperties&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-InputDocument&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$doc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Get-PWDocumentsBySearch&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-FolderPath&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"&gt;&amp;quot;Projects\HE565628_Oxford_to_Cambridge_Expressway\800 Training\TEST&amp;quot;&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"&gt;|&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"&gt;Foreach&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"&gt;-MemberName&lt;/span&gt;&lt;span style="font-family:Lucida Console;font-size:xx-small;"&gt; &lt;/span&gt;&lt;span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"&gt;$Description&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://communities.bentley.com/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Thu, 04 Apr 2019 14:25:52 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d04fddef-0568-4a56-93f0-7a285f79187a</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Is it possible to transfer emails to ProjectWise using a script rather then manually drag and drop or through menu?</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-di-forum/105841/is-it-possible-to-transfer-emails-to-projectwise-using-a-script-rather-then-manually-drag-and-drop-or-through-menu</link><pubDate>Tue, 31 Mar 2015 14:07:30 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:48d40f5a-b6ca-4fb3-89e8-576709ce24b4</guid><dc:creator>Qadeer Hussain</dc:creator><description>&lt;p&gt;One project is getting many emails which are stored in a project folder. project manager want an easy way to move these emails to the ProjectWise.&lt;/p&gt;
&lt;p&gt;Is it possible to transfer emails to ProjectWise using a script rather then manually drag and drop or through menu?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Filter data in the look up tables using Select statements</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-di-forum/97673/filter-data-in-the-look-up-tables-using-select-statements</link><pubDate>Tue, 03 Jun 2014 21:41:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:dcde59b1-9888-4e28-b1cf-44167e7cd796</guid><dc:creator>Qadeer Hussain</dc:creator><description>&lt;p&gt;I have different Disciplines codes for each Project number. I have set up 2 look up tables, ProjectNo and Discipline. I want if I choose a project 0001, my discipline table only show me vaules related to project 0001. Can anyone explain me how can achieve it using Select statement filter?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>