I'm stuck with the following Problem:
The Task:
I do have a custom SharePoint form which displays an entry from one of my SharePoint lists. On that Form I am using a ListViewWebPart to show the content of a specific Folder from a SharePoint document library.
The query part of that ListViewWebPart looks like this:
<Query>
<Where>
<Contains>
<FieldRef Name="FileDirRef"/>
<Value Type="Text">{MyParameter}</Value>
</Contains>
</Where>
</Query>
Now if I replace {MyParameter} with let's say "Documents/Billing/001" it shows exactly what I want it to show: The content of that folder.
How can I use
The Problem: How can I grab a property of the actual viewed list item (let's say "MyCustomID") and pass it as a parameter to MyParameter in the query of that ListViewWebPart?
UPDATE
I am using a simple HTML table containing entries to display the list item and as described above a ListViewWebPart to display the Document Library
Any ideas would be much appreciated.