You are viewing limited content. For full access, please sign in.

Question

Question

Web Access - Single Page View

asked on June 30, 2017 Show version history

Hello,

I'm using an iFrame to embed the Web Client (10.2) in a Forms page (10.2), and I would like to display one page at a time.

Essentially, what I'm trying to accomplish is something like the Laserfiche Scanning interface where each page is shown individually (no scrolling) and users must click thumbnails or use navigation to move between pages.

I figured out the URL parameter to display full-screen on load, and so far I've experimented with the following:

  • Editing the DocView.aspx file to incorporate a custom parameter that hides certain elements
  • JavaScript/CSS to manipulate the iFrame, its wrapper, and the contents

 

However, before I get too far I wanted to see if there are any built-in options, URL parameters, etc. to facilitate this kind of display.

As a follow up, is there any updated documentation for URLs in versions 10 and higher? I have the documentation for 9, but I couldn't find anything describing newer parameters (such as the full-screen option).

0 0

Answer

SELECTED ANSWER
replied on June 30, 2017

URL documentation for web client 10 can be found here: https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-us/userguide/default.htm#../Subsystems/client_wa/Content/ShortcutsURLs/URLs.htm. Check out the embed mode for placing it in external iframes. 

1 0
replied on June 30, 2017

Thanks Justin!

0 0
replied on June 30, 2017 Show version history

It looks like I'll still need to do some customization to get the kind of single-page view I wanted, but is there a way to enable the Thumnails pane when using the embed mode?

In my earlier attempts I included code in the docview.aspx file that would hide the action bar and add the thumbnails pane if a parameter is included. The action bar is already hidden with embed mode, but my custom function no longer triggers.

        var urlstring = window.location.href;
        var customview = "cview=1";
        if (urlstring.indexOf(customview) > -1) {
            $(document).ready(function() {
                //$('.actionBar').hide();

                setTimeout(function(){
                    $('span[lf-localize="THUMBNAIL"]').parent().click();
                },100);
            });
        }

 

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.