Ok, so I'm using the workflow engine. I Use the DocumentHelper.GetDocument method and it returns my node.
in that node I have a column called Image that Has the GUID for the Image I was to display.
I do a node.GetValue("Image") and it gives me the GUID.
Then I set the ImageUrl property on my Asp:image object to equal
"~/CMSPages/GetFile.aspx?guid=" + imageGuid
This works on published documents, but no dice on a versioned document
So I've looked through API and other examples, and I stumble across a parameter
you can pass called "versionhistoryid"
Great, that's probably what it needs...but where do I get this elusive versionhistoryid
Someone suggested VersionManager.GetVersion in this Post, but either I'm reading it wrong or I have the wrong version because that method doesn't exist for me
ThreadSo any help? I'm going to go work on a different area of my site, wasted entirely to much time on something I'm sure is supposed to be simple.