locked
Issue with "Custom web view in File Dialog Box" in Office 2013 RRS feed

  • Question

  • Hi,

    I have a custom “web view for file dialog” that used to work in Office 2010 and no longer works in the 2013 version.

    By “web view for file dialog box” I mean the feature described here:

    -            http://msdn.microsoft.com/en-us/library/ms947923.aspx

    -            http://msdn.microsoft.com/en-us/library/office/hh967656(v=office.14).aspx

     

    The issue is that, in Office 2013, it is only possible to navigate to a sub-path of the current location and not to other paths. Below is an example:

    1. The user opens Microsoft Word, hits CTRL+S and enters “ http://myportal/firstlib ” in the Save File Dialog;
    2. A custom web view is displayed containing the following “links”:
    3. <tr id=’http://myportal/firstlib/folder1’ fileattribute=’folder’ …>…</tr>
    4. <tr id=’http://myportal/secondlib/folder1’ fileattribute=’folder’ …>…</tr>
    5. <tr id=’http://myportal/secondlib’ fileattribute=’folder’ …>…</tr>
    6. The user clicks the first link. He gets properly redirected to  http://myportal/firstlib/folder1 ;
    7. Clicking the other two links doesn’t work properly. Instead of navigating to the link URLs, the file gets saved in the currently displayed location (i.e.,  http://myportal/firstlib )

     

    As mentioned above, all links work properly in Office 2010 (Word, Excel).

    I have checked this with the custom view implemented in both SP2010 (SP2) and SP2013 (SP2), so the issue seems to be on the client-side (Microsoft Office).

    Would anybody know if this is a bug or a “feature”?

    Or else, how could I implement navigation inside an Office Open/Save dialog. I’ve tried using “javascript:window.navigate(…)”,  “javascript:location.href=…” and “<a target=”_self” href=’…’>…</a>”, but they cause a new IE window to pop up and the current location in the Open/Save dialog remains the same.

     

    The issue can be reproduced by editing the file “[14 or 15 hive]\TEMPLATE\FEATURES\DocumentLibrary\DocLib\FileDlg.htm”, replacing the <ows:View Name="FileDialog"/> tag with the following hard-coded table (make sure to replace the URL in there):

     

    <table id="FileDialogViewTable" style="cursor: default" cellpadding="2" width="100%" cellspacing="0" border="0">
    
    <tr fileattribute="folder" id=”http://myportal/secondlib" onmousedown="selectrow()" onclick="selectrow()">
    
    <td valign="top">Documents</td>
    
    </tr>
    
    </table>



    • Edited by jhrecife Friday, August 16, 2013 12:06 PM
    Friday, August 16, 2013 12:05 PM

Answers

  • Hi Damian, i tried in my couple of labbox, using sharepoint 2013 server with august 2013 cu. seems i can jump to couple of depth, but there is an exception. as matter affect, something interest me, when i open and target to the folders, for example: i input http://ariz2012/, then it appears all the folders. i check at the textview of the page, and it seems already like the one that you suggested. then i changed the path of the so one of hierarchy, have couples of depth, it became unstable, its only shows the links but not able to be accessed, it will be accessed to the one that active only at that hierarchy. while my tracing went to the owssvr.dll, i compare this owssvr.dll, it is using version 15 for 2013, and version 14 for 2014. from the testing, its seems this matters is by design of the 2013. if should you need to check more deeper regarding this issue, you may need to check this owssvr.dll. i already submit to our suggestion box, so that the person in charge of the product may check this out, but i cannot make any guarantee regarding the time of process. if you wish to check this out, i may suggest you to open a ticket so that you may have the ticket number and you may follow up based on the ticket number. to open a ticket you may contact our customer service representative: http://support.microsoft.com/contactus/

    Regards,
    Aries
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by Qiao Wei Monday, October 7, 2013 12:46 AM
    Thursday, September 5, 2013 2:26 PM

All replies

  • Hi,
    For this issue, I’m trying to involve someone familiar with this topic to further look at it.
    Thanks,

    Qiao Wei
    TechNet Community Support

    Thursday, August 22, 2013 3:43 AM
  • Hi jhrecife,

    regarding this issue, i will try to ask with the office team members,

    i am not quite sure why the secondlib it not accessible, although from the dialog box, it is shown properly.

    perhaps you may try to check if it can be access directly from the internet explorer, to make sure that the site is correct.

    as office may use the components to connect to sharepoint, you may want to do the cache.ini process, to reflush all the component service at sharepoint.

    http://office.microsoft.com/en-in/powerpoint-help/save-a-file-to-a-sharepoint-library-or-another-web-location-HA010131481.aspx


    Regards,
    Aries
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Thursday, August 22, 2013 10:03 AM
  • Hi Aries,

    Thanks for your reply.

    Yes, the links are correct. They work in Office 2010, but not in the 2013 version.

    I tried flushing the cache as you pointed out, but it didn't help.

    Regards,

    Joao

    Thursday, August 22, 2013 10:28 AM
  • Hi Joao,

    from your description: SP2010 (SP2) and SP2013 (SP2), seems we dont have SharePoint 2013 SP2 yet, http://technet.microsoft.com/en-us/sharepoint/jj891062.aspx

    please have a try to check the build number for the SharePoint.

    as i talked with my office dev team mates, it seems there is an issue on the component that link the office and the sharepoint, most probably the office 2013 component, is not recognize on sharepoint, so that it will take the first link as the component send it through.

    they suggest that to open an incident case to us, so we can remote your environment and check throughfully regarding this issue, to confirm if this is an undocumented feature or not, and provide you with the workaround.


    Regards,
    Aries
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, August 27, 2013 12:57 PM
  • Hi Aries,

    Thanks for your reply.

    Sorry about the mistake regarding SP2 for SP2013. I actually meant the latest CU (August 2013) - 15.0.4535.1000.

    How to open an incident case? Can I do it as an individual or it has to be done via a company's MS partnership program? The company I work for is Gold Partner, so this shouldn't be an issue.

    Regards,

    Joao

    Wednesday, August 28, 2013 12:53 AM
  • Hi Aries

    remote access is not necessary, here are steps to reproduce problem:

    1. create in sharepoint document library Docs, folder A in it and folder B in A, so it looks like http://yourserver/Docs/A/B

    2. open up fiddler and start capturing http traffic

    3. in office 2013 open up open file dialog and navigate to http://yourserver

    4. save response in fiddler from sharepoint that contains <table id="FileDialogViewTable" and <tr fileattribute="folder" id="http://yourserver/Docs"

    5. set up autorespond in fiddler for that particular request to returned saved in file response from point above

    6. modify in that file entry <tr fileattribute="folder" id="http://yourserver/Docs"  so it points to deepest subfolder: <tr fileattribute="folder" id=http://yourserver/Docs/A/B

    7. refresh in office's open file dialog page (navigate there again or press f5)

    8. try to double click Docs entry and notice that nothing happens

    9. turn off autorespond in fiddler and refresh page in open file dialog

    10 double click Docs entry, notice that office properly navigates to Docs library

    In office 2010 point 8 works

    Wednesday, August 28, 2013 6:27 AM
  • Hi

    any news? Did you manage to reproduce problem with provided steps?

    Friday, August 30, 2013 6:38 AM
  • Hi Damian,

    when i tried the steps, seems like this is a nested folder issue.

    while office 2010 are able to recognize the subfolder method but the office 2013, seems have the issue to check this out, why the subfolders being recognize as flat, so it only recognize the first head folder.

    we tried in our labbox, seems fine with out environment, we are not quite sure but most probably because we already put alot of fix from the previous other issues.

    office 2013, may recognize the nested folder with different method with office 2010, as i know, at sharepoint, even we create nested document library not as the same meaning creating folder.

    i humbly suggest to check and report this by opening a ticket, so that if it is true that this is an undocumented feature after the whole checking process, then you may have the ticket number to double check with us later regarding the fix/update in the future.

    http://support.microsoft.com/contactus

     in the meantime i am still creating new environment that have no fix to be installed, and will update it to august 2013 cu, and i will post the update after i did more checking in different environments.


    Regards,
    Aries
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Friday, August 30, 2013 2:08 PM
  • Folders were used in my example because it was the simplest way to reproduce it. This behavior also exists if we change libraries with folders to nested webs, etc.

    Problem is that if office thinks it is currently at level, for example http://server/levelA/LevelB

    it will only try to fetch info and navigate to urls _one_ level deeper, so if some url contains more then one slash above counts of slashes for current level - it will not even try to fetch any info from sharepoint about it, completely nothing happens. It does not regard if those are folders in library or subwebs in current web.

    What do you mean by "we tried in our labbox, seems fine with out environment, " ? That in your environment office 2013 was able to make jump several levels deep with double click on table row with such url?

    Friday, August 30, 2013 6:47 PM
  • Hi Damian,

    we are still testing it on couples of new environment to check if should this one of by design or not, because its not happened to all of the environment. i tried not to have several level jump, just 1.

    we are checking with our office team also, so we may double check on that too.

    i will post up after done the research.


    Regards,
    Aries
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, September 2, 2013 11:47 AM
  • Just one hop works always everywhere, problem is when we return custom html with varied levels of jumps. In office 2010 and lower it works, in 2013 in doesn't. I agree that nowhere is an written obligation that it should work but also there is nothing stating that it should not work. http://msdn.microsoft.com/en-us/library/dd588677(v=office.11).aspx 
    Tuesday, September 3, 2013 10:22 AM
  • Hi Damian, i tried in my couple of labbox, using sharepoint 2013 server with august 2013 cu. seems i can jump to couple of depth, but there is an exception. as matter affect, something interest me, when i open and target to the folders, for example: i input http://ariz2012/, then it appears all the folders. i check at the textview of the page, and it seems already like the one that you suggested. then i changed the path of the so one of hierarchy, have couples of depth, it became unstable, its only shows the links but not able to be accessed, it will be accessed to the one that active only at that hierarchy. while my tracing went to the owssvr.dll, i compare this owssvr.dll, it is using version 15 for 2013, and version 14 for 2014. from the testing, its seems this matters is by design of the 2013. if should you need to check more deeper regarding this issue, you may need to check this owssvr.dll. i already submit to our suggestion box, so that the person in charge of the product may check this out, but i cannot make any guarantee regarding the time of process. if you wish to check this out, i may suggest you to open a ticket so that you may have the ticket number and you may follow up based on the ticket number. to open a ticket you may contact our customer service representative: http://support.microsoft.com/contactus/

    Regards,
    Aries
    Microsoft Online Community Support


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by Qiao Wei Monday, October 7, 2013 12:46 AM
    Thursday, September 5, 2013 2:26 PM