Questions tagged [xpath]
The xpath tag has no usage guidance.
17
questions
0
votes
1
answer
124
views
Get the Outer XML inside Power automate
I am converting a Nintex flow into Power Automate flow, where inside the Nintex we have this extract XML step;-
For getting the outer xml and store it inside a Collection, our xml has this format:-
&...
0
votes
2
answers
455
views
Fetching the list of users who have permission to use SharePoint page
When using _api/web/siteusers? I get a lot of usernames and email adresses.
With XPath I managed to filter them.
Then I realized that there were a huge amount of usernames and email adresses who don'...
0
votes
1
answer
75
views
Text to dynamic Xpath
Is it possible to use dynamic text to XPath in InfoPath?
Example:
Use a field with text:
"xdXDocument:GetDOM("Org")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Manager/pc:Person/pc:...
0
votes
1
answer
453
views
Get first value of InfoPath dropdown, not the ID
I'm trying to get first value of InfoPath dropdown. Dropdown is bound to a SharePoint lookup column. This is the XPath to get first value of InfoPath dropdown.
xdXDocument:GetDOM("OfficeApplications")...
0
votes
2
answers
2k
views
SP2010: How to display a lookup column in a .aspx displayform
I have the two Lists Articles(A) and Serial Inspections(S).
The Article-List has columns: Article-#, Name, DescriptionDE, DescriptionEN, somemore...
The Serial Inspections: Inspection-#, Inspector, ...
1
vote
1
answer
2k
views
Count all prior sections from current location in InfoPath
In the image below I would like to keep the "Sub Section X" counter from resetting when a new "Master Section" (group 1) is inserted.
Ideally, the form will appear as such when the counting is being ...
0
votes
1
answer
3k
views
Double Eval- Repeating Value
I'm having some trouble with a double-eval concatenation. I am using the formula xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM("REST Vacation")/ns1:feed/ns1:entry, 'concat(//d:EmployeeID, ";")'),".."), ...
0
votes
1
answer
74
views
InfoPath Filtering
I am working on a form for a SharePoint list called Scheduling, to be used for scheduling assets. The problem I am looking at now involves filtering the options in a multiple-selection list. I would ...
2
votes
3
answers
3k
views
XSLT filter for Yes/No Column/Field in SharePoint Custom List for SharePoint Designer DataView WebPart
I'm trying this with no luck:
[@ActiveStatus='Yes']
also tried 1, '1', 'True' .. get no rows back.. If I remove the filter I get back all rows.
full line in code view looks like this:
<xsl:...
0
votes
1
answer
1k
views
xpath expression to conditonally build column with URL
I am trying to create a formula for a dataview that returns a URL using the xpath expression tool in SPD 2007. I can't really find any examples. Here is what I am trying to do (in pseudo code):
If @...
0
votes
1
answer
3k
views
InfoPath 2010 rule based on field value fails to run
I have an XPath expression that returns true or false (NOT boolean, just strings in a text field).
I would like to set a condition on my target field so that its value varies if this XPath expression ...
1
vote
4
answers
7k
views
How to get look up fields display name?
I have a list with 3 columns in it.
Title, QType, Qtype_Text ..
Title is usual field. QType is a lookup field (it works). And Qtype_Text is a kind of singleline textbox. I want to get QType's ...
1
vote
1
answer
6k
views
How can I get full URL of current page with xpath on InfoPath 2010 form?
I want to open different forms for different SharePoint list views so I need to get current page full URL on an InfoPath 2010 form. How can I do this through XPath or XQuery?
1
vote
2
answers
4k
views
How to count the number of rows returned when using a Data View Web Part XSLT and Xpath
I have created a data source to link, via a join, 2 lists in sharepoint 2010. The result is a Data View Web Part. I would like to count the results returned in the second 'lookup' list. So for example,...
0
votes
2
answers
5k
views
export specific field from from sharepoint custom list to excel
I'm having custom list (SharePoint 2007)
I need to export the list to Excel file.
So I mark all the field that I want to export.
but I when I export the list I can see:
the "Path" field, though ...
5
votes
2
answers
5k
views
XPath expression
I'm working on a DVWP where I'm trying to aggregate some data from a list based off some information in another list. I'm struggling to come up with the right XPath expression to do what I want.
In ...
0
votes
3
answers
3k
views
Sort dropdown field in list form
I have list form(s) (disp.aspx, edit.aspx, new.aspx) in SharePoint that contain lookup dropdown fields. I'd like to sort the data within the dropdown by descending. Viewing the form code within ...