I apologize in advance for the redundant post, pretty sure FroggEye has seen this before and I blame my inexperience for not being able to convey my issue properly.
Anyway.
As I said, Fact Sheets are a standard document type, very similar to a news document. Neither of which acts as a page(they are basically data containers as far as my understanding goes and do not have templates directly associated with them).
Like a news item, they reside below a listing page in the CMS content tree.
North America (type Page(Menu Item))
- Fact Sheet 1
- Fact Sheet 2
- Fact Sheet 3
Business Units are custom table data, just a name and an ID
Widget Maker (ID 1)
On my Fact Sheet Form, I have a multi-select field that allows many business units to be associated with a particular fact sheet document. Which is stored as a list of Business Units in the database record for a given fact sheet as a pipe delimited list(The Kentico standard for multi selects)
On my list page for Fact sheets I need to display the corresponding business unit names, along with some basic fact sheet data:
State/Province City Business Units Map Link Fact Sheet Detail
--------------------------------------------------------------------------------------------------
OH Cleveland Unit1, Unit2 Link to Map Link to Detail
Rather than use a nested repeater to display the list of units, I created a custom query that pulls back the fact sheet document data and is joined with the business unit table replacing the pipe delimited list with a list of business unit names, pushing the work of gathering all of the peripheral information onto the database as opposed to having this done via a repeater(which would do a query anyway).
My problem is figuring out a way to link my detail pages to my list. Normally this would be a simple matter of setting the path attribute as well as a list transformation along with a selected item transformation. However since I am using a custom query to get my list, the selected item aspect does not work. So how do I link the two?
None of the standard node information seems to be available to me, and I am not sure what I am doing wrong. Putting GetDocumentUrl() in my code does not generate the link properly so I am unable to construct my path to the detail page.
At this point all I need is for my transformation to be able to know the node path for the parent page, in this case North America. So my link would hopefully look something like this:
<a href="/Comapany-Info/North-America/Facility-Fact-Sheet.aspx?fsid=<%# Eval("FactSheetID") %>" target="_blank">Fact Sheet</a>
Facility-Fact-Sheet.aspx refers to a generic details page I created that has a UniversalViewer on it and accepts the queryString variable fsid.
I would prefer to just use a selected item transformation, but my understanding is that this does not work without using the Path attribute of the webpart.
I have been avoiding writing custom controls or code due to not having direct access to my clients file system. Is what I am attempting possible purely through CMS desk and the portal engine? Or do I need to be able to create a cloned webPart that allows for the details page info to be set programatically.
Does any of that make sense?