Language spec in KM doc iView?

Hi,
How to specify the language of a KM document iView.
I have two different set of HTML pages -One for English and one for French.
English is stored in En directory and French in Fr directory.
My requirement is to select the directory dynamically- that means if the user is logged in French it should point to the French folder and if the user is logged in English, it shoudl retrieve files from the En directory.
How is this possible.
Thanks in advance.

Good, its possible.
Now tell me:
How have you arranged viewing of KM document iViews in your portal. Are they directly under a role?
Or do you have a link with navigation: say Click here to access the documents: which will then lead you the documents?
If its the latter you would probably have something like this right:
<a href = "#" >Click here</a>
with an onClick = "EPCM.doNavigate(.............../myKMDoc)
What you would need to do is get this area:
.............../myKMDoc
from a Resource Bundle (do read about it)
in myProps_en.properties you'd have:
PathToFile= .............../myKMDocEN
in myProps_fr.properties you'd have:
PathToFile= .............../myKMDocFR
where myKMDocEN and myKMDocFR are the 2 different KM Document iViews that you'd need to create one pointing to the English file and the other to te french one.
When the locale is resolved at runtime it'll automatically pick up the necessary path and hence the necessary iview.
Message was edited by:
        Prem Mascarenhas
null
Or check my reply at Re: Portal Content Translation
Message was edited by:
        Prem Mascarenhas

Similar Messages

  • KM Doc Iviews do not display while using the FQDN

    Hi All,
    We have recently migrated the data from EP 6.0 server to EP 7.0 server. We have External Facing Portal sites in Arabic, English and French. When I use the FQDN to access the arabic sites it fails to display the KM doc Iviews.
    This works fine in English and French. Also this works fine in EP 6.0 server. While I try to access the site using just the server name (without the FQDN) it works fine as well.
    The site fails only in one condition i.e using FQDN of the server while accessing the arabic websites.
    What could be the reason for this??? Please help.
    Regards,
    Noufal

    The issue is resolved. The page was having a fixed height and the iviews within them had the height set to automatic. I just changed the height type to fixed and this has solved the issue.
    No idea if this is how it is supposed to work... and am puzzled how it was working when the server name was given without the FQDN...
    Anyways 10 points to me... 
    Regards,
    Noufal

  • Creation of KM Doc iView

    Hi
    can anyone help me in creating KM Doc iView for uploading image files
    useful answers will be rewarded
    Regards
    JM

    hi
    nope that is not correct
    Create a Folder  in KM content
    Create a Km Upload iview you can create it from par or templates
    Specify the <b>path property</b> in the iview created to the folder you have    created  in KM content
    Assign the iview to the page .
    so you can upload the images now.
    Km document iview is used to view documents  . similarly you have to do for KM document iview and specify the path to folder to which documents are created.
    Hope this helps you please do award full points.
    Km Navigation is to display all the files specific to particular folder in content process remain same
    With regards
    subrato

  • Difference among Technololgy,Language,Spec and Tool

    Hi Java people
    I hav a question ...what is difference among Technololgy,Language,Spec and Tool...
    Ed Roman (TheServerSide.com owner) said that Java is not a technology.
    It is Spec...
    Why?
    Please describe that Visual C++ is a language or a technology.
    and what is Visual Basic
    Thanks in advance.

    I hav a question ...what is difference among
    Technololgy,Language,Spec and Tool...
    Ed Roman (TheServerSide.com owner) said that Java is
    not a technology.
    It is Spec...
    Why?It depends on the context. When one wants to refer to java the language and J2EE, JTAPI, JMS, etc as a group one might say either "java" or "java technology". In this case it represents far more than just a language.
    If the context is "my program is written in java" then it is a language.
    Please describe that Visual C++ is a language or a
    technology.Same thing.
    and what is Visual Basic
    This is probably just a language. It is very complete language but the ties between it and other components, unlike C++, are fuzzier. I can write a device driver in C++ but I can't do that in VB. I can however use it in both.

  • Unable to change language for SAP BW Report Iview

    Dear all
    We are currently rolling out BW Web Templates can be displayed in both EN and MS languages. The language can be changed via the URL that we display, e.g.
    For English Language:
    http://<hostname>:<port>/sap/bw/BEx?SAP-LANGUAGE=EN&cmd=ldoc&template_id=ZTEST
    For Malay Language :
    http://<hostname>:<port>/sap/bw/BEx?SAP-LANGUAGE=7&cmd=ldoc&template_id=ZTEST
    We have published these templates into Ent. Portal 6 using SAP BW Report Iview, but unfortunately we cannot view the report in the Malay language (SAP-LANGUAGE=7), even though we have inserted the command SAP-LANGUAGE=7 in the SAP BW Report Iview query string. All the reports, although defaulted to SAP-LANGUAGE=7 displays in English. We also tried to set the language settings for the Iview, but there are no language 7 or MS in the Iview. It can only be defaulted to the Portal’s language, which is English.
    Note that the reports can be viewed in the different languages if we using the URL separately outside of Portal, and also within BW Bex Analyzer itself. Only the Portal doesn’t allow us to view the reports in MS language.
    Can someone help us on this matter? All helps really appreciated. Thanks a lot.

    Hi Chris,
    That's a bit odd indeed. If I understand your question correctly, you do get the BW reports in the correct language (either English or Malay) using the url's in your post but not when using them within a standard BW report iView?
    The language setting for the iView has, unfortunately, nothing to do with the language for the content itself but can you tell me what the requested URL is for both Reports?
    The BW Report iView is based on the Application Integration Component that generates the URL based on the paramaters you provide in the BW report iView.The following template is being used: <iView[PORTAl_URL]>?System=<System[url_Encode]>&Report=<Report>&DynamicParameter=<DynamicParameter[url_Encode]>. I could be that the generation of the URL fails due to the 7 (don't know why, just a gut feeling because it's the only thing that's different between those urls). You could try to use create an iView based on the Application Integrator instead (some more control over the URL template) but first you need to check whether the URL generated by the iView is correct.
    Cheers!
    Frodo
    P.S: Award points if you find this useful

  • KM Doc iView to display in HTML format

    Dear KM friends
    I created a KM Document iView to display a MS Excel file.
    My requrirement is
    1. I want to diplay that iView on click on HTMLB link
    2. I want to display that MS Excel file in HTML format, just like a link in Search result.
    plz reply me
    Thanx in advance
    Lakshmikantha

    Hi,
    You could call com.sap.km.cm.document iview with the RID of the document in order to display it's Excel content from the HTMLB Link:
    Link nameLink = new Link(resourceName);
    nameLink.setReference(docUri + resource.getRID());
    where docUri is:
    IURLGeneratorService urlService =
    (IURLGeneratorService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
    docUri = urlService.getRelativeUri(PathKey.CONTENT_ACCESS_PATH).toString();
    Hope this helps.
    Romano
    PS: about showing the HTML content of the Excel file - If I am right - I think that the HTML content of the Excel (PDF, DOC or other resources) is created on the TREX server and is available only when showing found indexed documents.
    I've found the class, that manages this HTMLVersion, maybe you can have use of it (or just have a look):
    <i>package: com.sapportals.wcm.control.search
    class: HighlightedContentControl
    method: renderHTMLVersion</i>

  • Setting dynamic language for WD ABAP application iView

    Hi,
    I have created an iView for a WD ABAP application which runs with two languages, EN and FR.
    When I run this application with app parameter sap-language=EN or FR, it works fine in corresponding language.
    How do I set this in its portal iView so that it picks up browser language?
    Thanks and regards,
    Amey

    HI Amey,
    The language is determined in the order below.
           1.      sap-language URL parameter
           2.      Default language in the setting for the system logon
           3.      Web browser languages (Accept-Language)
           4.      Default language of the SAP system
    Refer to
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/7b/fb57412df8091de10000000a155106/frameset.htm
    Just clear the logon language parameter for the user in SU01 and it should pick the browser language.
    If you change the browser language, you will have to logout and login again to the portal for the changes to take effect.
    Thanks
    Prashant

  • Including links of worksets and iview in a KM doc iview

    Hi,
    I have developed a home page using the KM Document iview, which utilzes an html page in path to document.
    Now, On this home page, I want to display the links of worksets.
    Example: On Clicking the link--> Leave Management(a workset), it should open the leave management and its sub part iviews as Leave Cancel, Leave Status etc.
    Is it possible to display them on the same screen when the user clicks them? If it is possible, how to go about it?
    I tried using
    http://<portalserver:port>/irj/index.html?NavigationTarget=ROLES://<pcd location>
    in the html file, but on clicking this link, instead of the workset, the whole portal page is loaded in a sub-window.
    I don't have the option of creating a custom overview page in the back end; that's why following this approach.
    Any inputs on this would be helpful?

    Hi,
    in an up-to-date version of TREX you have to change TREXIndexServer.ini:
    [statistics]
    trace = on
    index = _trex:statistics
    log_all
    Restart TREX.
    Within this index "_trex:statistics" all the index usage data will be stored.
    You can use the text mining function for retrieving your desired information.
    Launch the TREX Admin-Tool.
    Goto Index: Mining.
    Choose the index "_trex:statistics".
    Open Query Editor by using button u201EBuild Queryu201C
    In Query Editor enter query: function=search
    Use button u201EOKu201C
    Mark u201Eindexu201C and u201Equeryu201C from attribute list
    Use button u201EShow Tableu201C
    Use button u201EGet Datau201C
    That's all.
    Best regards
    Frank

  • Adding worksets/iview as links to an html file utilised in a KM Doc iview

    Hi,
    I have developed a home page using the KM Document iview, which utilzes an html page in path to document.
    Now, On this home page, I want to display the links of worksets.
    Example: On Clicking the link--> Leave Management(a workset), it should open the leave management and its sub part iviews as Leave Cancel, Leave Status etc.
    Is it possible to display them on the same screen when the user clicks them? If it is possible, how to go about it?
    I tried using
    http://<portalserver:port>/irj/index.html?NavigationTarget=ROLES://<pcd location>
    in the html file, but on clicking this link, instead of the workset, the whole portal page is loaded in a sub-window.
    I don't have the option of creating a custom overview page in the back end; that's why following this approach.
    Any inputs on this would be helpful?

    Thanks Prashant,
    Level 1 of the problem is solved.
    Now I want When I click on the workset iview link,
    It should open another workset iview in which the iviews are displayed as links.
    Page 1
      (Workset Iview1)Clickable                                                    Workset Iview2 Clickable
    When workset iview1 is clicked, it should go to a page
    Link 1(an iview) Link 2(iview2) Link 3(iview3) and so on
    how can I achieve this?

  • KM Docs iView for Excel sheet

    Hi All,
    I have created a KM Document iView for excel sheet and gave the path of excel sheet from KM.
    When I launch the iView, it is opening in a new excel sheet. Is it possible to open the Excel sheet in a browser (html/iView) itself.
    Thanks
    Chinna.

    Chinna,
    Check [this|http://www.mrexcel.com/archive/Hyperlinks/16530.html] out and see if it serves your purpose.
    Cheers!
    Sandeep Tudumu

  • KM Doc Iview & Resource Renderer

    Hi,
    I have a XML Form with two Shows - Show & Show-X.
    I created a IView of KM Navigation and created a new XML Form Renderer to show the contents of a Show-x form.
    I created a IView of KM Document type and it picks Show by default. Can I change the Resource Renderer of such IView?
    Rgds

    hi
    basically   an Xml FORM has two types of renderer one collection renderrer and other resource renderrer u can duplicate the renderer but before hand duplicate the command group and add or delete those commands required and attach the command group to duplicated resource renderrer and apply the renderrer to duplicated Layout that is layout of the form has to be duplicated and then that duplicated layout has to be attached to the form. basically iviews to be used is NEWS Authoring and layouts to be used is NEWSExplorer and News Browser just back trace them and you will find the renderers for duplications.hope this helps you.please don,t forget to give points
    with regards
    subrato kundu

  • KM Doc iView-How the content can be displayed in detailed navigation area

    Hi Experts,
    I have doubt related with KM Document iView.
    I have created a HTML page in KM, which will hold 2 links. Give names to these links and href as follows.
    Link1: http://<host>:<port>/irj/portal/*
    Link2: http://<host>:<port>/irj/portal/*
    I have created KM Document iView (ABC) and provided path to document of above HTML page.
    Then I opened my role, created folder inside, and added KM Document iView (ABC). Then I opened the properties of this iView in role and change the property, Initial state as Open,
    I had then expected that the KM document iView (ABC) content Link1 and Link2 to appear in detail navigation area.
    It is not happening. Can you please let me know what is going wrong here
    In other words can you please let me know how I can ensure that
    Link1 Link2 should appear in detailed navigation area side by side.
    Thanks

    Hi Frank,
    Thanks. But this has already been implemented in one project. I have seen this. In that project the detailed navigation area looks like as shown below. The image link and iview link appear in one line
    'jpg image1' 'iviewLink1'
    'jpg image2' 'iviewLink2'
    'jpg image3' 'iviewLink3'
    'jpg image4' 'iviewLink4'
    When the user clicks on jpg image, one iview gets open. When user clicks on iview link other iview gets open.
    I tried a lot. But, I am unable to do this.
    Can it be done using custom PAR file or Visual composer?
    Will appreciate if you can help.
    Thanks
    Brian

  • How to call a xmlform from KM doc iview

    hi all ,
    can any one explain how to call the xmlform from KM document iview . and my document is in content management ->document ->folder ->app.xml.

    Hi,
    If you want to look at XML form like the are designed in your form builder you need to work with a navigation iview to the folder that contains you XML forms. You need to set the layout of the navigation iview to Newsbrowser or NewsExplorer or a derived layout.
    From here the form is renderer as a form.
    If you only want to show this one form I would suggest to open it in this last view in the described navigation iview and use the url in for example an url iview. This will be the quickest.
    Kind,
    Frederik

  • KM Doc Iview

    Hi,
    I have uploaded an PDF file of 1.8 MB into KM. Now i have created a KM document iview and mention its
    path to the uploaded PDF file . When seen preview or assigned to role and opened, it is giving
    information on the bottom that dowloading file and it is taking long time, or it is sometime not opening.
    Is there any thing problem of size of 1.8 MB ?
    Is there anyway to overcome this problem.
    Thanks ,
    Surya

    no 1.8MB should not give an issue... please be aware that pdf files will only open in the browser when the Acrobat reader plugin is enabled for your browser. Otherwise it will promt with a popup asking you to open or download the file.
    Good Luck,
    Benjamin

  • Language change in iview

    Hi,
    There are some iviews whose code link is : FAQ_MultiLang.ProxyiView.
    These iviews are embedded in a page as delta link.When my language in the portal is set to english I am able to see the ivews in that page.But when I am changing the language to French then I am not able to see the iviews....means the iviews are not showing data and are not working.
    Please suggest.
    Regards,
    Rajani

    Rajani,
    I think this SAP Note should  help you.
    Note 460638 - Setting the Language of Individual iViews
    Check this as well:
    Note 1078145 - Issues in Language-Specific URLs for URL iViews
    Regards,
    Karthick Eswaran

Maybe you are looking for

  • Can't re-install iTunes on Windows7 64bit PC.

    Can't re-install iTunes on Windows7 64bit PC. Tried uninstalling Apple programs in correct order and starting again with new download but I can't install Apple App support which means iTunes won't work. May be something to do with microsoft visual c+

  • JV upload in SAP

    Hello,   Is there any standard program in SAP for JV uplaod

  • How to Display Grid in ORacle Forms

    Hi Friends and Experts I have a requirement to display the records in Grid in ORacle Forms. This grid is a kind of Java grid. Help on this or any reference material for implementing this would be grately appreciated. Thanks in Advance. Ahmed

  • WBS settlement rule

    Dear PS Sifu, What is the maximum number of settlement rule can we maintained in CJ20N by WBS element? Please advise. Thank you. Kind regards, Eila

  • Xib as Factory for IKImageBrowser?

    I'm interested in creating an interface that spontaneously creates tabs, which is simple, but I would also like for those tabs to contain more complex elements like an IKImageBrowserView. For consistency and ease of creation I would like to make thes