Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

custom thumbnail page?

Status
Not open for further replies.

ericb1

Programmer
Oct 22, 2004
175
US
I'm trying to build a custom thumbnail page, like the sample one on CE10. Thanks to mdwyer for the code he posted on this, it was very helpful.

However, I'm trying to get the thumbnail to appear in a specific place on my page, inside an Iframe, so I really want to just strip down the example to get 1 thumb at a time, but the sample uses page numbers as a variable, not the report ID to call the thumb. So, I don't know how to get just the 1 thumb I want at a time.

Anyone ever try to change this paging to get the report ID? So like I would want to call available.csp?reportID=111 or soemthing like that.

Any help is appreciated, thanks!
 
[Thank you!] It's been awhile since I looked at that code, but the paging variable seems to be used to control - paging. It doesn't have anything to do with which thumbnail is displayed. The reports displayed on a page are determined by the folder selected. Within the folder, there should be a loop through a collection of report objects, in which the filename of the thumb is retrieved as a property and then displayed. The report ID would be available in the same loop iteration.

That may not be clear, but I'm going by what I remember of available.csp and the way data is retrieved out of the CMS database, not by actually looking at code. But hopefully the info will help.
 
Yeah, I can kinda see it in there. I'm not the best with the code though. There's so many dependencies in there, every time I remove something to simplify the code, it gets screwed up.

I was trying to remove all the logon info, the cookie setting, the paging, etc. So that I can just call it via the URL: available.csp?id=xxx where xxx is the report id and it will just display the report info: the description, report owner, last modified date and the thumb.

Is there a method for getting the thumb through a connection string? For example I access the reports via url: viewer.crw?ID=xxxuser=xxx&pwd=xxx etc.

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top