<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124474.aspx</link><pubDate>Fri, 24 Sep 2021 15:53:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124474</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124474</wfw:commentRss><description>Yup, you could query the list for the user (if in this other list the person / group column only allows a single user) or you could add a data connection to the list and return all the data, then use a condition in a form load rule to determine whether to switch views.... When you create a condition and select a field for the first dropdown in the condition builder there is a hard-to-notice dropdown on the field picker that lets you select &amp;quot;Any occurrence of&amp;quot; etc. on repeating fields - so you could use &amp;quot;any occurrence of&amp;quot; the field with the account id from your list matches the userName() function.</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124473.aspx</link><pubDate>Fri, 24 Sep 2021 15:43:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124473</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124473.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124473</wfw:commentRss><description>Yeah that&amp;#39;s exactly what I mean.&lt;br /&gt;
There is a group of users who only need to see a very specific set of data and validate it, so I have created a view for this and want to ensure this is all they can see when they edit an item in the SharePoint list&lt;br /&gt;.
There&amp;#39;s up to 100 users of this type, so its by user I take it? &lt;br /&gt;
Or again I&amp;#39;ll be storing these users in a person column in another list anyway for something else so could employ the method you stated already, look in the column to see if user exists and if so then apply the rule?&lt;br /&gt;</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124472.aspx</link><pubDate>Fri, 24 Sep 2021 15:08:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124472</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124472</wfw:commentRss><description>Not sure what &amp;quot;load specific views&amp;quot; means here - if you mean you want to switch the view on form load based on who the user is, yes, you can do that. The userName() function is a built in InfoPath function that returns the user&amp;#39;s account id. Put a calculated value on your form and select the function using the formula builder and you&amp;#39;ll see the result. At any rate you can have form load rules that change the view of the form, and your condition can be based on the user&amp;#39;s name....</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124471.aspx</link><pubDate>Fri, 24 Sep 2021 10:07:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124471</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124471</wfw:commentRss><description>Yes give them an inch and they want a mile!&lt;br /&gt;
Its all good though because I didn&amp;#39;t think most of this would even be possible, so learning lots&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m not familiar with the username() function so can you control views based on users with this method too?, would be most useful to be able to load only specific views for particular groups of users.&lt;br /&gt;
&lt;br /&gt;
I can follow most of what you have outlined above but yes will need help with the filter change to pull in the user info&lt;br /&gt;
&lt;br /&gt;
Cheers!</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124469.aspx</link><pubDate>Thu, 23 Sep 2021 14:47:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124469</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124469.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124469</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - with the relative path that was in your expression (which is what InfoPath will build by default, in general) the formula was comparing on just the individual data row - for the given title, it was looking at path in the same row. By changing that to an absolute path, the formula is comparing the title to all the returned paths. In terms of limiting by user (my goodness, this grows ever more complicated!) you can use the userName() function in InfoPath browser forms.... so I guess I would try: &lt;/p&gt;&lt;ol&gt;&lt;li&gt;Adding a column to the stages list that is a person/group, allow selection of persons only, and allow the selection of multiple persons&lt;/li&gt;&lt;li&gt;Update the stages data connection in your list to include the new column - this should end up being repeating in the data source&lt;/li&gt;&lt;li&gt;Then we&amp;#39;ll have to change the filter on the dropdown again to check if the current user is in the list of users, if it isn&amp;#39;t empty&lt;/li&gt;&lt;li&gt;So - for the stage paths that are restricted to specific users, you&amp;#39;ll have to add those users to the list item... &lt;/li&gt;&lt;/ol&gt;&lt;p&gt;If you need help with the filter on the dropdown, let me know....&lt;/p&gt;</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124468.aspx</link><pubDate>Thu, 23 Sep 2021 07:06:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124468</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124468.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124468</wfw:commentRss><description>Hi Hilary&lt;br /&gt;
That works now perfectly, I just added one condition, the expression as per above and all is fine!&lt;br /&gt;
I&amp;#39;m not going to pretend I know why so I&amp;#39;ll have to look up differences between relative and absolute paths&lt;br /&gt;
&lt;br /&gt;
Since I;ve been trying to get this to work they have asked me to limit some path movements by user, now I believe you can&amp;#39;t do this in  a browser form but could potentially if it was done in InfoPath itself, so that&amp;#39;s out&lt;br /&gt;
Do you think possible with some Power Automate?&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ll look it up but if you know any articles would be good&lt;br /&gt;

And thanks again for all the help on this , this can be useful for other things too now..</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124463.aspx</link><pubDate>Wed, 22 Sep 2021 18:09:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124463</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124463</wfw:commentRss><description>&lt;p&gt;Oh, I see the difference now! Changing the last filter on your dropdown the &amp;quot;The expression&amp;quot; and doing the same with mine, I see you are using a relative path to a field where I&amp;#39;m using an absolute path. Try this expression: &lt;/p&gt;&lt;p&gt;     . = xdXDocument:GetDOM(&amp;quot;Stages&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Path[../d:Title = xdXDocument:get-DOM()/my:myFields/my:field1]&lt;/p&gt;</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124462.aspx</link><pubDate>Wed, 22 Sep 2021 17:08:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124462</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124462.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124462</wfw:commentRss><description>No I wasn&amp;#39;t doing that , I set it as &amp;quot;Stage 1&amp;quot; and now only Stage 1 shows in the field&lt;br /&gt;
My list will be simple as per attached and as outlined above, 2 columns, one with Stage and one with Path&lt;br /&gt;
 
If something else is needed to make it work I&amp;#39;m fine with that but can&amp;#39; t seem to get your xml method to work either in my form and the only other difference I see is that I&amp;#39;m using a browser form to save data in a sharepoint list and your sample does not?&lt;br /&gt;</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124460.aspx</link><pubDate>Wed, 22 Sep 2021 15:59:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124460</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124460.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124460</wfw:commentRss><description>So, in my sample, I&amp;#39;m setting the default value of the dropdown field to the first stage option for the dropdown. Is that what you&amp;#39;ll be doing in your form as well? Setting to the first option? What is the text value of that? What does your stages list data look like? Could you attach a screenshot of that?</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124454.aspx</link><pubDate>Tue, 21 Sep 2021 14:39:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124454</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124454</wfw:commentRss><description>See attached, I just did up a quick one for the field in question as the full form is rather large with lots of data in it&lt;br /&gt;</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124452.aspx</link><pubDate>Tue, 21 Sep 2021 14:22:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124452</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124452</wfw:commentRss><description>Could I see your form where you are using a SharePoint List? I&amp;#39;m assuming you&amp;#39;d prefer that approach?</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124450.aspx</link><pubDate>Tue, 21 Sep 2021 12:43:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124450</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124450</wfw:commentRss><description>Also when I use the xml approach with the 2 files I get blank so must be doing something wrong? &lt;br /&gt;
&lt;br /&gt;
Here is your Data source entry&lt;br /&gt;
/Statuses/Status[. = xdXDocument:get-DOM()/my:myFields/my:field1 or . = xdXDocument:GetDOM(&amp;quot;StagePaths&amp;quot;)/StagePaths/StagePath/Path[../Stage = xdXDocument:get-DOM()/my:myFields/my:field1]]&lt;br /&gt;
&lt;br /&gt;
and here is mine&lt;br /&gt;
/Statuses/Status[. = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Stages or . = xdXDocument:GetDOM(&amp;quot;StagePaths&amp;quot;)/StagePaths/StagePath/Path[../Stage = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Stages]]&lt;br /&gt;
&lt;br /&gt;
Both using Stages file as data source&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124449.aspx</link><pubDate>Tue, 21 Sep 2021 07:46:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124449</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124449</wfw:commentRss><description>Hi Hilary &lt;br /&gt;
I never used the xml resource files before but might have to go that way as I can&amp;#39;t get the one SharePoint list with two columns Stage and Path to work?!&lt;br /&gt;
The field is just blank, I assume I don&amp;#39;t need the expressions and just need your 4th filter condition =&amp;gt; field1 is equal to Path[Stage = field1]&lt;br /&gt;
&lt;br /&gt;
I assume it&amp;#39;s blank because I have nothing defined as a value in the actual field on the form ? &lt;br /&gt; 

Thanks again..</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124441.aspx</link><pubDate>Fri, 17 Sep 2021 18:46:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124441</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124441.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124441</wfw:commentRss><description>Yeah, and it could probably be done with a single list - the stage dropdown would need to only show unique items - I just added a second XML because it was faster for me than re-doing the initial work :)</description></item><item><title>Re: How to manage Progress Status movements in a form</title><link>https://www.infopathdev.com:443/forums/thread/124440.aspx</link><pubDate>Fri, 17 Sep 2021 12:45:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124440</guid><dc:creator>markikav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=124440</wfw:commentRss><description>Hi Hilary&lt;br /&gt;
&lt;br /&gt;
This is it exactly, thanks. &lt;br /&gt;

Just so I&amp;#39;m clear, i would create a list with 2 columns as use as the data source, then replicate the expressions and filters as per your example and should be good to go?&lt;br /&gt;
&lt;br /&gt;

Stage      Path&lt;br /&gt;
Stage1    Stage2&lt;br /&gt;
Stage1    Stage4&lt;br /&gt;
Stage2    Stage3&lt;br /&gt;
Stage2    Stage5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks again</description></item></channel></rss>