tmas73 Posted March 19, 2009 Posted March 19, 2009 I have the webviewer using a fields url properties to load a page. If I switch to preview mode it loads a different records url. Is this normal? If so how can I preview the correct URL? Thanks Webviewer.fp7.zip
Fitch Posted March 19, 2009 Posted March 19, 2009 The web viewer isn't the issue. When you go to Preview mode, you're previewing the found set of records, starting on the first one. To preview a single record, you need to isolate it first.
tmas73 Posted March 19, 2009 Author Posted March 19, 2009 How would I go about that? With a find script step? I tried this, but wont work SetVariable [$recnumber; Value:Get (RecordID) Go to Layout ["scrap_webcap" (scrap_materials)] Print Setup [Restore; No Dialog] Adjust Window [Resize to Fit] Enter Preview Mode [] Go to Record/Request/Page [No dialog; $recnumber]
Fitch Posted March 19, 2009 Posted March 19, 2009 That could work, but you want Get(RecordNumber), not Get(RecordID). I'd probably do it with a Find though, because it would likely be quicker, especially with a large found set. If you want to preserve the current found set, you could do the Find in a new window. (Or GTRR/self in a new window.)
Recommended Posts
This topic is 5739 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now