Hiding the outline section of PPT converted to HTML in Page Viewer web part

Hello,
I've converted the PPT (Office 2010) to HTML using .SaveAs command. I'm adding this HTML on my SharePoint site in a page viewer web part. I get an outline section for PPT which shows all the slides. By default, I want the outline section to be closed (collapsed)
so that I see PPT slide in full view.
Has anyone done this before?
Thanks,
Ajit

Hi Ajit,
When we save PPT as HTML page, the PPT HTML page uses a lots of html pages and JavaScript functions to show the slides in a web browser. When we click "Outline" button, we can be able to show or hide the outline. Actually, this button uses JavaScript to
do so.
In this case, in order to show full page on load, we can simulate the action that clicking the "Outline" button onload.
Open the PPT HTML folder(if we save PPT to HTML, there will have a folder)
Open the file outline.htm with text editor
Modify the Load function to be:
function Load() {
    if (IsWin("PPTOtl")) {
        LoadOtl();
        parent.gOtlLoaded = true;
        var btn = new TxtBtn(
        "nb_otl", "nb_otlElem", parent.ToggleOtlPane, GetOtlState);
        if (btn != null) {
            btn.SetPressed();
            btn.Perform();
        return
    if (g_supportsPPTHTML) {
        if (IsWin("PPTNav")) {
            LoadNav("NavObj", UpdNav);
            parent.gNavLoaded = true;
            return
        if (IsWin("PPTOtlNav")) {
            LoadNav("OtlNavObj", UpdOtlNav);
            parent.gOtlNavLoaded = true;
            return
Once we done, and upload the files to SharePoint again, the page viewer web part will show the PPT in full page.
If there is anything unclear, please feel free to ask.
Thanks,
Jinchun Chen
Jinchun Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)

Similar Messages

  • Issue in treeview control along with page viewer web part showing the sub sites from MMS

    hi,
    Am having a treeview control populates  with values from  MMS - Managed Metadata Service.
    [ Products ]
    ----->ms office 
                ----->word
                ----->excel
                 ---->powerpoint
    -------->Collaboration
                     ---->   sharepoint 2003
                     ---->  moss 2007
                     ----> sp 2010
                     -----> lync
     all these  values excel, word, powerpoint are sub sites created under ms-office site collection.
    and  sharepoint 2003, mos 2007, sp 2010, sp 2013 are  sub sites created under collaboration.
    now, on the page load, end user clicks on word and he should navigate to the  sub site "wordsite"  and it should show the home page of word sub site.
    we have created a  page viewer web part and  assigned the url property of the page viewer to the sub site url.
    but the issue is, when end user clicked  on the child node "powerpoint", the  page did a Post Back and treeview control immediately collpased and it shows the Products [top level - parent node] only.
    Am unable to set the current selected value- ie  here its excel and show the excel node in the trewview.
    how can i get this child tree node as the selected node.
    help is  highly appreciated!

    Check if below can help
    http://thechriskent.com/2012/05/09/changing-the-default-expansion-of-metadata-navigation-on-initial-page-load/

  • Trouble with the hosted website from a page viewer web part. (Sahrepoint 2010)

    Hi everyone,
    I am facing trouble with sharepoint and I would like some help.
    I use Sharepoint 2010 and I have included a page viewer page part in one the pages I 've created that hosts another website. Although most of the functionality of the hosted website is there, some functions of it don't work. These functions are apply buttons
    or downloading documents buttons. My guess is that the web part has to update dynamically and it should be independent from the Sharepoint page.
    Is there a way to do this? It is important that the website is hosted in the since at the same page I have s guide on how to use the hosted website.
    If this can't be done using a page viewer webpart I am open to other suggestions as well.
    Thanks in advance!
    Sakis

    Is it possible that the hosted website page is using HTML5 of other functionality that isn't supported by the IE-8 restriction in the SharePoint master page? We've run into that before, where the page wouldn't work in the page viewer. I also had problems
    where Chrome/Firefox wouldn't display a pager viewer when it crossed hosts/changed protocol.
    What I had to do was add some javascript/Jquery to pop up another window to view the page if I wasn't on IE, getting out of the restriction of the SharePoint master page. If I was in IE the page viewer webpart worked.  Not ideal, but maybe you could
    adapt - they could see your instructions on the page but work with the host page on another.
    <script type="text/javascript" src="/Javascript/JQuery/JQueryMin-1.8.2.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    var isIE = /*@cc_on!@*/false || document.documentMode;
    if(!isIE) {
    window.open('http://fmgblog/measure/email/dashboard.php');
    }); // end of document ready
    </script>
    Robin

  • How do I remove the grouping headings in my list view web part?

    I don't have access to SharePoint Designer and so far, that is all I can find that people are saying to use.  I understand and know how to edit the HTML in SharePoint, just don't know what code to put in and where exactly to put it so that the Document
    Library List View web part is grouped how I want, but doesn't actually show the group titles.  Any help would be greatly appreciated.  Thank you!

    Hi,
    I understand that you want to hide list view group headers, based on your description, I can suggest as follow:
    Add this code to a Content Editor Web Part (CEWP) in the list view. Adding a CEWP in a SharePoint 2010 list view will unfortunately remove the list view selector.
    <script type="text/javascript" language="javascript">
    _spBodyOnLoadFunctionNames.push("HideHeaders");
    function HideHeaders()
    var elements = getElementsByClassName(document, "td", "ms-gb");
    var elem;
    for(var i=0;i<elements.length;i++)
    elem = elements[i];
    elem.childNodes[3].style.display = "none";
    elem.removeChild(elem.childNodes[4]);
    elements = getElementsByClassName(document, "td", "ms-gb2");
    for(var i=0;i<elements.length;i++)
    elem = elements[i];
    elem.childNodes[3].style.display = "none";
    elem.removeChild(elem.childNodes[4]);
    elements = getElementsByClassName(document, "tr", "ms-viewheadertr");
    for(var i=0;i<elements.length;i++)
    elem = elements[i];
    elem.style.display = "none";
    Written by Jonathan Snook, http://www.snook.ca/jonathan
    Add-ons by Robert Nyman, http://www.robertnyman.com
    function getElementsByClassName(oElm, strTagName, strClassName){
    var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
    var arrReturnElements = new Array();
    strClassName = strClassName.replace(/\-/g, "\\-");
    var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
    var oElement;
    for(var i=0; i<arrElements.length; i++){
    oElement = arrElements[i];
    if(oRegExp.test(oElement.className)){
    arrReturnElements.push(oElement);
    return (arrReturnElements)
    </script>
    More information:
    http://edinkapic.blogspot.in/2008/06/hiding-list-view-group-headers.html
    http://spjsblog.com/2011/08/30/remove-group-label-in-grouped-list-view/
    If you have any questions, please reply me.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Items to display in list view web part not showing the items setup

    Hi, I have the following issue. I have a list view web part, but the web part is showing more items that the ones setup in the: Number of items to display in list view web part for this view.
    It is because that works when using datasheet view and not a normal view? Is there any technical documentation from Microsoft supporting this?

    thank you for your answer. It is interesting that the mobile view with the items to show in the mobile view doesn't work in the webpart, but it works when you are using datasheet view, but if you uncheck to activate the mobile view, then, the webpart doesn't
    show information, so, it works partially because one part works and not the other.

  • XSLT List View Web part with Inline Editing changing value for one field changes the other lookup field

    Hi
    It's a bit of a weird one. In an XSLT List View web part when Inline editing is enabled if I change the date column, it changes the lookup field column as well. This behavior only occurs if the lookup list has more than 20 entries. Below 20 and we are
    OK.
    Let me explain by example:
    MileStones List - Having more than 20 items
    Tasks List - having a lookup to the Title field from MileStones list. Also having a due date field.
    Simple web part page with one XSLT List View web part for Tasks having inline editing enabled.
    When I edit the first record's due date and press enter (which saves the changes and moves onto next record) and change the due date on second record without even touching the MileStone field. Press enter to commit changes and you see the milestone changing
    on first record!
    The wierd thing is that if the MileStone list has less than 20 items all works as expected.
    Any pointers will be appreciated
    Thanks

    Hi,
    This is a known limitation when working with complex fields like Lookup field.
    A workaround is that we can avoid using the inline edit feature when there are
    complex fields in a list.
    You can take a look at this KB from Microsoft Support to get more details:
    http://support.microsoft.com/kb/2600186/en-us
    A similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3d369611-ee79-4b5c-86bb-c0f3878cd746/standard-list-view-with-inline-editing-lookup-column-copies-preceding-or-following-items-related?forum=sharepointgeneralprevious
    Thanks
    Patrick Liang
    TechNet Community Support

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • "Oslo.Master" set as the The default Master Page, but when record selected in "List View Web Part" page shifts to the right.

    Hi All,
    I have set "Oslo.Master" as the The default Master Page for the site.   I have a page with a List View web part and an InfoPath Web Part connected.  When the page loads is it displayed correctly.  However, when a record
    is selected and the infopath web part is updated, the content on the page shifts (indents) to the right.
    Is there something I am missing?   Does anyone know how to correct this?
    Thanks in Advance!

    Hi Dwayne,
    I could reproduce this, as a workaround, we can use javascript code as below to hide the element in the following image.
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script>
    $(document).ready(function(){
    $('#contentBox').prev().hide();
    </script>
    Thanks
    Daniel Yang
    TechNet Community Support

  • Using "View Selector" in the List View Web Part, changes the web part page to the view selected's page.

    Hi,
    I am relatively new to Web Parts pages.  I created a page with list view web part and a Infopath Form Web Part, which are connect via the "Get Form From" option.  My users would like to be able to use views dependent on what
    they are looking for.  So I created different views.  However, when I select the view from within the Web Part, it changes the web part page to the list view page.  I must be doing something wrong.  How do I configure the list view to show
    the selected view and results within the existing "list view web part"?
    Thanks,
    Dwayne

    Hi
    Lindali,
    Sorry, but this has not been answered to my liking.  The "List View Web Part" has the ability for the user to select the view from within the web part, so there you should be able to select a different view and have it appear within the same web part. 
    Does anyone know how to complete this task?
    Thanks,
    Dwayen

  • Modify the data source of a data view web part

    I have a dataView web part deployed in a template in multiple site collection. This dataView hasn't any query set up, so it loads a lot of items and this is slowing down my system.
    Now I want to programmatically put a query overriding the existent (empty) one and I'm doing like this:
    System.Web.UI.WebControls.WebParts.WebPart y = (System.Web.UI.WebControls.WebParts.WebPart)item;
    Microsoft.SharePoint.WebPartPages.DataFormWebPart z = (Microsoft.SharePoint.WebPartPages.DataFormWebPart)item;
    StringBuilder dataSourceString = new StringBuilder("<%@ Register TagPrefix=\"sharepoint\" Namespace=\"Microsoft.SharePoint.WebControls\" Assembly=\"Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<%@ Register TagPrefix=\"WebPartPages\" Namespace=\"Microsoft.SharePoint.WebPartPages\" Assembly=\"Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<sharepoint:SoapDataSource runat=\"server\" SelectUrl=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx\" InsertUrl=\"\" UpdateUrl=\"\" DeleteUrl=\"\" SelectAction=\"http://schemas.microsoft.com/sharepoint/soap/GetListItems\" InsertAction=\"\" UpdateAction=\"\" DeleteAction=\"\" SelectPort=\"ListsSoap\" InsertPort=\"\" UpdatePort=\"\" DeletePort=\"\" SelectServiceName=\"Lists\" InsertServiceName=\"\" UpdateServiceName=\"\" DeleteServiceName=\"\" AuthType=\"Basic\" AuthUserName=\"contoso\\administrator\" AuthPassword=\"pass@word1\" WsdlPath=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx?WSDL\" XPath=\"\" ID=\"SoapDataSource3\">");
    dataSourceString.Append("<SelectCommand><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><listName>Jobs</listName>");
    dataSourceString.Append("<Query><Where><Eq><FieldRef Name=\"Title\" /><Value Type=\"Text\">2012_080_A_0</Value></Eq></Where></Query>");
    dataSourceString.Append("<rowLimit>9999</rowLimit></GetListItems></soap:Body></soap:Envelope></SelectCommand><InsertCommand></InsertCommand><UpdateCommand></UpdateCommand><DeleteCommand></DeleteCommand></sharepoint:SoapDataSource>");
    z.DataSourcesString = dataSourceString.ToString();
    manager.SaveChanges(z);
    In my code, I can see the DataSourceString changing, but if I refresh the page it is still loading all the data: why?!

    Hi,
    According to your description, my understanding is that you want to change the data view web part datasource programmatically.
    We need to override the databind method like below:
    public class ExtendedDataFormWebPart : DataFormWebPart
    public override void DataBind()
    this.DataSource = your own data source;
    base.DataBind();
    Here is a detailed code demo for your reference:
    http://jamestsai.net/Blog/post/How-to-query-cross-site-lists-in-DataFormWebPart-Part-1-Build-your-own-data-source-for-DataFormWebPart.aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How do I set the scope to recursive in the Data View Web Part in SP 2013?

    How do I set the scope to recursive in the Data View Web Part in SP 2013?
    I have items in folders that I would like to display in the data view web part out of their folders.  I know that I need to set the scope to recursive.  I found documentation on how to do it in 2010, but since they removed all views other than
    the code view, I am unsure about how to do so.
    Link to article describing how to do what I am trying to do in 2010:
    https://www.nothingbutsharepoint.com/2009/05/13/data-view-web-part-folders-part-2-aspx/

    Hi,
    In SharePoint Designer 2013, we can click the code of the Data view web part. Then switch the tab to "OPTIONS". And then we can find the Folder Scope option, you can select "Show All Files of All Folders"
    to achieve your requirement.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Everything works except viewing a report *in* the Report Viewer web part

    Hello!
    I'm having an issue with the SharePoint 2007 PIK where the following works fine...
    1. Adding the Document List to the web page and clicking a report to view it in a new browser window
    2. Adding a Document View web part and pointing it to a Document on the BOE server repository views fine in the Doc View web part
    However, when I try to use the Crystal Report View web part, click Edit, and Browse to select a report to view, it selects it fine but does not display it. Instead I get this error:
    Report cannot be displayed because no report processing server is available. Please try again later or contact your BusinessObjects Enterprise administrator.
    It setting up a connection between the Document List and Crystal Report View also gives the same error when a report is selected by the end user.
    Any ideas what I can check? Do I have to install the BOEXIR2 web components on this SharePoint server too?
    Right now it just has the BOE .NET SDK and SharePoint PIK. The full BOE XI R2 server that I'm calling is on another computer.
    Thanks!
    Horus

    Ok, got this to work finally. The virtual directory steps were helpful but I still got broken links on my images.
    I tried right clicking the toolbar and report images in the browser and found the URL. Then I just entered that URL in the browser. This helped a bunch since at least I had a new error to research.
    Server Error in '/crystalreportviewers115' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Cannot use 'partitionResolver' unless the mode is 'StateServer' or 'SQLServer'.
    Googling this lead me to a tip to add a sessionState key in my X:\Program Files\Business Objects\common\3.5\crystalreportviewers115\web.config file as follows:
    <sessionState mode="SQLServer" timeout="60" allowCustomSqlDatabase="true" partitionResolverType="Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    After this my buttons and images worked. I'm not sure if your config is different but as a beginner with this stuff myself hopefully this works for you.
    Horus

  • Get the web part properties of documeny lib view web part using power shell

    Hi,
    Am looking to get the propeties of a list view web part - a document library's  list view web  part- using PowerShell
    Manually I am able to do the same: the steps followed by me is given below:
    1) I went to the
    http://srvr1:123/sites/enggtest/mydoclib1/forms/allitems.aspx
    2) Edit the page
    3) Edit the  mydoclib1 view web part
    4) go to the peroperties
    5) Check the Server Render checkbox
    is there   anyway i can do this using power shell.

    The code below assumes that the webpart is at index 0:
    $SiteUrl = "http://aissp2013/sites/TestSite/"
    $pageURL = "http://aissp2013/sites/TestSite/Lists/MyList/AllItems.aspx"
    $web = Get-SPWeb $SiteUrl
    $wpm = $web.GetLimitedWebPartManager($pageURL, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    $wp = $wpm.WebParts[0]
    $wp.ServerRender = $true
    $wpm.SaveChanges($wp)
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • When i open new page, it has the outline of a selection i made a few pages ago

    this is what i see when i open a new page. it is part of a selection i made a few pages back. i can delete it and use another, blank layer, but when i "fill" the layer, this is what it is filled with. relatively familiar with photoshop basics, have never come across this. input welcomed.
    madeleine

    Does turning off »Use Graphics Processor« in the Performance Preferences and restarting Photoshop have any bearing on the issue?
    Please read these and proceed accordingly:
    http://forums.adobe.com/thread/419981?tstart=0
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Edit the Posts list view web part in a Blog site

    Hi,
    We found the great post vow to add a custom property (for example sub title) to blog posts view using jslink.
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/04/09/how-to-add-a-custom-field-to-blog-posts-in-sharepoint-2013.aspx
    It works in the Home page of the blog, but we want the property to be displayed in any post view.
    In order to display a column it has to be checked to be displayed at the view settings in the web part, but in the page posts.aspx there is no option to "Edit the current View".
    Any ideas?
    thanks a lot
    keren tsur

    Hi,
    Appreciate your update and response. I am glad to hear that the problem has been fixed.
    Have a nice day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for