SP13: html file - edit locally

Hi Experts,
We recently upgraded our system to 04s sp13.
After upgrade, when trying to <i>edit locally</i> an html file in KM I recieve an error:
<i>The download of the document failed</i>
After that I sometimes even get the <i>Internet Explorer has encountered a problem and needs to close.  We are sorry for the inconvenience.</i> error.
To me it looks like a bug, and I'm going to open an oss message regarding it but I wanted to know if anyone encountered this before.
The edit <i>online option</i> works fine.
Thanks and regards,
Avishai Zamir

Dear Avishai,
the docservice.log file should bring some clarity here. Anyway there is one thing known which is specific to HTML scenario. My colleague Catherine will update your message tomorrow on this: It could be that the url path name is too   
long. There is currently a limitation of 105 characters for HTML resources. In this case the log would state the root cause of issue: 'WARNING: After shorten path, filename C:\Documents and Settings\<userID>\Local Settings\Temp\docservice\..\xy.html seems to long!' 
Solution: NW 7.0 SPS 15 will clear this.
Workaround:
a) Using a different, shorter TEMP directory on the clients.  
b) Usage of Applet option for Local Editing instead of currently used          
ActiveX.
Just for the records: Exclude also that no HTML stylesheet filter is assigned to the repository. Such stylesheet could also lead to an error with        
html files.
Regards, Peter

Similar Messages

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Opening an HTML file stored locally

    Hello fellows,
    Is it possible to open a locally stored HTML file using  Acro javascript?
    If, yes, how to make Acrobat/Reader open the HTML file only once, when the rights-enabled PDF is opened for the 1st time?
    Thank you for your responses in advance!

    Reader cannot open HTML files even manually. You can use JavaScript in Acrobat to convert an HTML file to PDF, but only from a privileged context: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.164.html

  • BSP to display an HTML file in local drive

    Hi,
       I am developing a BSP application, where after accepting the some parameters from users in the initial screen, I have to open a document in KPRO based on the values entered by the user and take the HTML file attachmet from KPRO document and store it in Local drive then display that HTML file in the BSP screen. Is it possible to do?If yes, how to do this. It is not compulsory to store the HTML locally, I have to display the html page in BSP.
       This BSP will be called from Enterprise Portal.
    Regards,
    Sathish

    sathish,
    so you want to display a html page in BSP. If i understood your requirement correctly,
    you will be having the path of the file so just use the below code to display it in the bsp.
    <a href=" http://w3.hr.xxxxxxxxxxxxcom/people/asp/globalCompetencies.asp"
      target="_blank" STYLE="color:blue;font-size:11; font-face:arial;"
      OnClick="window.open(this.href,'_blank',
                    'width=500,height=500,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');
                return false;"
      ><%=otr(YP_HRPA/GLOBAL_COM)%></a><
    regards,
    manasa

  • Same html file viewed locally on laptop appears different from same file uploaded to server why?

    I create an html file locally with CSS style sheets, etc. I view it locally and it looks the way it's intended, when I upload it and view it from a domain on a server, same files look bigger. That includes images, fonts, etc. I've even tried to reset firefox to no avail, but since it's the same file, I'm just viewing it locally and online, there should be no reason for such differences. OS is Vista Home Premium, Mozilla Firefox 3.6.13.

    OK, after two days of googling, I think I might have found my own answer. It seems that resetting zoom DOES NOT overide a user's accidental use of <ctrl>- and <ctrl>+, something that developers might want to check into. I REPEATEDLY tried to reset zoom for the page, which did NOTHING. Finally, after stumbling upon http://forum.joomla.org/viewtopic.php?f=428&t=378606 I used <ctrl>- and then reset zoom, and now the page looks the same locally and online. Since <ctrl> is so close to <shift>, ESPECIALLY onlaptops, it's easy to see how someone could accidentally hit <ctrl>- INSTEAD of <shift>- while typing a URL into the browser window, which will cause this little nightmare I faced. So for the Devs, might want to consider programming reset zoom to also cancel out any <ctrl>- <ctrl>+ settings.

  • EP KM file "Edit Locally" not functioning

    Hi,
         We are working on NW04s Portal.
    While working in Knowledge management, we are not able to modify any KM file using the "Edit Locally option"
    However the option "Edit Online" is working fine.
    <b>How to enable the <u><i>Edit Locally</i></u> option ?</b>
    Regards
    Sunil Kulkarni

    Hi Krishna,
                     Which java version r u talking about??
    **Is it on Portal server machine ?
    (Details of java version on portal server machine)
    java version "1.4.2_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
    <b>OR</b>
    **on my local machine (where from I am accesing the portal)
    (Details of java version on my local machine)
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    I think it's someting related to IE settings not java version..
    Regards
    Sunil

  • Can't open HTML files from local or remote location

    Hello Experts,
    I've tried deleting my remote location, and adding it back
    again several times and I still can't open any HTML files. I can
    check out the pages, and check them back in, but nothing shows up
    on the screen. Does anyone know what may be causing this? I'd
    really like to update my website soon. If I click on the web images
    they open up in my photoshop, it's just the Dreamweaver HTML
    portions that won't open up.
    Thank you,
    Calie

    > Unfortunately I can't seem to get any of the pages open
    to check out the code
    > view.
    CLARIFY please.
    You said you open them, but design view is blank.
    The file is either open or not open
    Is the file open? And design view is blank? Or is the file
    NOT open and
    there are error messages?
    If the is open, even if empty design view There should be
    something in code
    view.
    some not random attempts at fixing this:
    open dreamweaver.
    Open this site.
    DON'T open any files.
    open find and replace
    Find in Source Code, sitewide:
    <!-- -->
    replace with: [nothing]
    reason: not much of one, but I've never seen an empty html
    comment. It
    doesn't need to be there.
    Then, i'm trying to think of a way to fix this badly nested
    bold tag
    <p><b>
    <a href="about-me.html">ABOUT ME</a> |
    <a href="contact.html">CONTACT</a> |
    <a
    href="
    http://blog.loveBaRKLee.com/">BLOG</a>
    </p></b>
    the closing </b> needs to be moved to before the
    closing paragraph tag.
    My next guess is that it's a css problem-
    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.lovebarkle
    e.com%2Fdog-bed-accents.html&profile=css21&usermedium=all&warning=1&lang=en
    moz-radius
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.lovebarklee.com&charset=%
    28detect+automatically%29&doctype=Inline&group=0
    Fix the errors, clarify if the file does or doesn't open in
    dreamweaver, if
    it opens and design view is blank or if it doesn't open and
    crashes the app.
    moosepucky.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Opening HTML files

    Hi there,
    I'd love someone giving me a bit of help about this...
    AFAIK, Nokia S40 phones can't open an html file stored locally (in the phone's memory or memory card), although they can if that file is accessed through an internet connection.
    So... is there a method or piece of software that I could use to open HTML files stored locally? (I've tried some Java browsers, including Opera Mini, but they all seem only fit for online browsing).
    Thanks a lot,
    Marcos

    ok so i just realized that it doesn't make sense for a program outside the jar, like IE or Firefox, to be able to access and open a file inside of the jar. I am now looking for suggestions on how to work around this problem for my program to be able to have a simple help system located inside the jar that can be loaded during runtime.
    Thanks for your suggestions.

  • Error when editing HTML files - after check in

    Hi
    Version of portal = NE04SP15
    I have an HTML file, and after editing and check in of such a document, Norwegian characters are represented with some strange characters.
    Any idea how to solve this?
    Regards
    Kay-Arne

    I have the same issue, apparently when you edit locally an HTML document that was generated with “KM HTML Editing tool” it looses some kind of attribute that makes KM to recognize it as a “KM HTML file”. So then some characters do not get rendered correctly.
    If you find a solution for this issue please let me know.
    Other related issue is when you transport these HTML files from one enviroment to another, again KM will not recognice its own HTML docs and then some incorrect characters may appear.
    Regards Jeronimo

  • WEBSITE NOT REFLECTING EDITS OF HTML FILE THAT WAYS SUCCESSFULLY "PUT" TO REMOTE SERVER

    Help!  I'm hoping there is a simple reason why I can't get my simple edits to reflect on the website.Here is what I have done/tried:
    1. opened and added one simple line of text (with one link to a pdf) to one page of the pre-exisitng site.
    2. checked both properties and code to make sure everything matched the preceding, similar line of text
    3. connected successfully to remote site through dreamweaver
    4. tried both "putting" and synchronizing the file (along with dependent files)
    5. the first time I did this I got the message that "no syncronization info is available" from  the remote site
    6. clicked ok (after going back and  unchecking "maintain synchronization information," and making sure there were no sync files in the _name folders)
    7. it took a long time to upload all of the files from the local site.  when it finished, the log stated that everything put successfully, but the website
    doesn't look any different.
    Our root folder is saved on our server.  We just recently changed web host providers.
    Also, for each webpage, there are two html files (one general and then one with a 1, 2 or 3 column descriptor).  I edited and put both to the site, but is there
    something I should know about these two files?
    ??  I just need to make some really simple edits and I don't understand why they are not showing up!!??
    Any help would be deeply appreciated!!!
    Thanks, Jessica

    I followed your instructions and was able to see the dummy page in the browser.  (no file not found error)
    OK - that's good.
    I only have one site defined (should I have two - one for local and one for remote?)
    Well, one site definition has the ability to contain local and multiple remote site specifications.  Under the basic Site category in the Site definition, you will see the path to the local root folder.  Under the Servers category, you will see each server that has been defined - usually a Remote server (that would be your web hosting account) and a Testing server (if you are coding a site with server scripting).  It's normally the case, with a simple, static HTML site, to have just Local and Remote details in your site definition.
    I called our host (Go Daddy) to ask what the name of the root directory was and they instructed me to just leave that blank. so right now it just appears as \
    Actually, it should be either blank or "/" (the regular slash).
    If you are able to see the dummy file that you browsed to but still do not see changes made to other files, then it must be that the host is caching files on your site.  You would have to ask them that question.  Otherwise, you should see changes that have been uploaded immediately.

  • StageWebView for Local HTML file

    I simply cannot get this to work.  I see a lot of people offering advice on the web for how to implement it, I've been trying all day and it doesn't work with Adobe AIR 2.5 for Android Flash CS5 plug-in.
    Instead of linking to an external website:
         webView.loadURL(http://www.google.com);
    I want to use StageWebView (because of the nice scroll capability) to load a local html file.  I have tried EVERYTHING, and it doesn't work.
    I have included the file in the APK (tried as a subdirectory and eventually, to simplify testing, I just included it in the same directory so no complex path).
    I have tried what others had recommended:
        webView.loadURL("test.html");
    I have tried using the filesystem and resolving the path:
        import flash.filesystem.File; 
        var file:File = File.applicationDirectory.resolvePath("test.html") ;
        webView.loadURL(file.nativePath) ;
    I have tried numerous change-ups on the filesystem approach, including:
        var file:File = new File("app:/test.html");
    and
        webView.loadURL(file.url);
    NONE OF THESE THINGS WORK.  Can anyone help me?  I'd like to have scrollable content, included inside the Android app - like a license html file or others.
    If none of this will work, any suggestions on creating simple, scrollable content that looks nice (scroll pane, scroll list, anything?)

    Hi Joe,
    can you show code snippet for the 1st solution? With loadString you can't load anything else into that page (i..e stylesheet)
    Edit: soon after I've posted this question I have found a solution:)
    var resultsPageUrl:String = File.applicationDirectory.resolvePath("output-html/result_html_pattern.html").nativePath;
    //and later
    webView.loadURL(resultsPageUrl);
    Edit2: above was just enough to have it working in adl still no joy
    Here is an example of temporary file being loaded, this works, http://forums.adobe.com/message/3443946
    var source:File = File.applicationDirectory.resolvePath("output-html");//copy entire folder (with css)
    var destination:File = File.applicationStorageDirectory;
    source.copyTo(destination, true);//copy to the application storage
    //get path to the html page within copied folder
    var resultsPageUrl:String = "file://" + destination.resolvePath("result_html_pattern.html").nativePath;
    best regards

  • How can I edit an html file in Firefox using View Source?

    I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9.
    I thought I was able to do this before in Firefox.
    Did my settings change somewhere that I can no longer do this?
    Do I have to have something checked in the Web Developer extensions for it to work?
    I'm using Firefox 24.0
    Thank you for any help with this. :)

    The View Source window in Firefox cannot be used to change computer codes. Nor can the Web Developer tools.
    Sorry for any inconvenience.
    I suggest using Programmer's Notepad.

  • Unable to edit html file

    Hi,
    I downloaded an html file from our server to edit the logo. However, I am unable to edit the logo part. It's like commented out. And once I opened the file on Dreamweaver CS5, I am getting this pop-up message:
    "This page contains some SWF objects that may not work properly in the most recent versions of Internet Explorer. Dreamweaver cannot convert them to the new SWF markups. Please delete each of them and insert again."
    I can't edit the html file and change the logo. Please help.
    Thank you and God bless!
    Dannie

    Dannie,
    Are you familiar with dreamweaver templates and editable regions? If the logo is in the template, then you need to modify the template file. The changes you make to the template will automatically be propogated to all of the files which use the template.  If your html file uses a template, the html code will look like its commented out.
    Also, you should not have to download the html fiile from your server because you should always keep a copy of all the html files on your computer.
    I don't know about the SWF error.
    Good luck.
    mitzy_kitty

  • How to display local HTML file in web-view?

    Hello everyone,
    we have no problem with showing of remote HTML content from server in box on page in web view. But how we can show such a content when included in HTMLResources? In guide is just "Display a local HTML file in an in-app browser", which works wihout problem, but we don't want to show this HTML content in in-app viewer, it should be part of page.
    Thanks
    Martin

    Now i'm confused. In guide is this:
    To use local HTML files, click the folder icon and specify the local HTML file. The HTML file (such as index.html) should appear in a folder that includes any images or scripts used in the HTML file.
    But no info where such a local HTML file should reside. If this file is in HTMLResources, it is ignored.

  • Open my html file and cannot edit it

    When I open my html file from Flash, in view design all I get is a grey box with the Flash symbol in the middle and no html tools.
    I want to link some of my buttons but if I go into view live I get html tools but I still can't access them to make links.
    How do I get my html page so that I can make my links?
    Forrest

    Your next button can still do that.  But it has to be programmed within Flash.  Flash files are not natively handled by Dreamweaver.  You have to export them in order to place them on a website within Dreamweaver.
    The only way that Dreamweaver can do this for you is if you create a button in Dreamweaver which does this action for you outside of the Flash area.  Then this button can link to another page or Flash file.  But if the button resides within the Flash file then it must be edited with Flash.

Maybe you are looking for

  • EXPORT_INCONSISTENT_STRUCTURE

    Hi, I am facing a problem while creating the purchase condition (Tcode-MEK2). I get an exception EXPORT_INCONSISTENT_STRUCTURE and the error analysis of the problem displays the following: ( This Program  dynamic generated by SAP with one Function Mo

  • URGENT: Wrong Info on Return Labels for Exchange Orders.

    Hi! SAP Gurus Exchange orders are being shipped with labels attached on the box that says DO not return defective part and because of this the customer will either dispose of the part, and therefore the business will not receive the defective back an

  • IP profile set very low (0.14Mbps)

    Hi. For the past few days our speed has been very low, I did a test at the btwholesale and got:  Download speed achieved during the test was - 0.13 Mbps  For your connection, the acceptable range of speeds is 0.05 Mbps-0.25 Mbps.  Additional Informat

  • Percentage calculation and zero amount entries get dvision by zero error

    Hello, i am calculating the total of a field and then reporting the contributions of that line entry in percentage form but when a line has a zero amount i get an error of 'division by zero'.  I'll give some explamples below incase i'm not explaining

  • First Second to  last second of a Day

    First second to last second of the day Hi I must to return First Second to Last Second of a day, I tried select to_date(to_char(trunc(sysdate),'dd/mm/yyyy hh24:mi:ss'),'dd/mm/rrrr hh24:mi:ss'),         to_date(to_char(trunc(sysdate),'dd/mm/yyyy')||'2