Company language property in DI API

how does the language property affects the behavior of DI API?
does it change the encoding used?
does it change the returned values?
does it have any effect at all?

Hi Erez,
The langauge property depends,,when we install B1 Server. There is a option to choose the  language that which language i have to choose.
If satisfied give me rewards points.
Kind Regards
Yogesh

Similar Messages

  • Viewing language property on PDF document (508 compliance)

    I'm currently working on a content management system that produces some PDF files to be published to external web sites. These PDF files have to be 508 compliant and one of the requirements listed by the user group is to have a Language set on the document.   Using iText I'm setting the language property to the corresponding locale and I can see the value set on an editable dropdown on my Adobe Acrobat 9 Pro, so far so good. Problem is, I cannot see the language code value when viewing properties on any given document on Adobe Reader.
    I checked the Adobe Reader 508 compliance overview document and there is no mention of document properties such as language so I'm guessing language does not get displayed on Adobe Reader?  It isn't obvious to me why showing the language code value on the document properties would be an accessibility requirement but I just need to double check.
    Any help is greatly appreciated.

    I am having the same problem-I have several papers due by Friday and so
    far this is my only hang up!
    Any help would be greatly appreciated.

  • Problem with PDF forms not having language property--not passing accessibility tests.

    Why doesn't LiveCycle Designer pass the language region to the PDF language property? Anyone know how to fix this problem?

    Hi Pat
    Looks like IE6 and Acrobat 6 have sync problems. The fact is emphasized by the fact that there were several postings regarding this issue on this forum as well as on Adobe's forum too.
    Right now, one of the options is to pre-create the PDF file and serve it to the users.
    Regards
    Sripathy

  • Company's Property

    I have a drum that will be shipped to the customer's premise but is not included on the actual sales. I will issue a sales order and I need to record also the drum that is sent to the customer. Customer needs to send back the drum when customer stops doing business with us because that drum is company's property.
    How can I record the drum on the SO?
    Should I record the drum on the SO or separate?
    What is the correct configuration.
    Please help. Thank you.

    Hi Anwer,
    This can be mapped with Returnable packaging scenario.
    Returnable packaging consists of materials that are stored at the customer location but which remain the property of your company. The customer is only required to pay you for the returnable packaging if he does not return it to you by a specified time.
    Prerequisites Settings in the Material Master Record A prerequisite for returnable packaging processing is that the value LEIH (returnable packaging) is entered in the material master record on the second sales screen in the Item category group field.
    Regards
    Ram

  • Localization - Accessing Language Property

    Hello,
    Is there a function (preferably in LabWindows/CVI) that will allow me to get (read) or set (write) the language property setting (i.e. "English", "Spanish", etc.) of TestStand. I would like access to this property so that I can compare it to the language setting of the PC and verify that they are the same. If these settings are different, I would like to be able to set the TestStand language property to the same setting as the PC.
    Thank you in advance for your time and assistance.
    Thank you,
    Jim

    Jim -
    You need to access the StationOptions.Language property of the TestStand engine. The wrappers for CVI will have this property as TS_StationOptionsGetLanguage and TS_StationOptionsSetLanguage. Changes to this property do not take effect until the next time you start the engine or call Engine.ReloadStringResourceFiles.
    Scott Richardson
    National Instruments

  • Access and change documents property with KM API

    Hi,
    I am trying to access KM with the KM API to change some document properties.
    I tried following cod, but I get errors for the IUser:
    IService service = PortalRuntime.getRuntimeResources().getService(IUserManagementService.KEY);
    com.sapportals.portal.security.usermanagement.IUser user =  WPUMFactory.getUserFactory().getEP5User((IUser)request.getUser().getUser());
    IResourceContext context = new ResourceContext(user);
    RID path = RID.getRID("/documents/Access/mydoc.doc");
    IResource res;
    res = ResourceFactory.getInstance().getResource(path, context);
    response.write("ResourceDisplay Name"+res.getDisplayName());
    IPropertyName propName;
    propName = new PropertyName("http://sapportals.com/xmlns/cm/rendering","displayname");
    IMutablePropertyMap map = new MutablePropertyMap();
    IProperty property;
    response.write(map.get(propName).toString());
    property = new Property(propName, "Asia");
    map.put(property);
    res.setProperty(property);
    Does anybody have an example code? Or can anybody help me?
    Thank you
    Regards
    Ismail

    Hi,
    This should work:
    com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
    Make sure you added a sharing reference for "com.sap.km.application" in your portalapp.xml.
    Best regards,
    Avishai Zamir

  • Get a list of all available Property MetaData through API

    Hello,
    We have create some custom Property MetaData and assigned them to an new group.
    Now I need to be able to get a list of all the Property MetaData in this new group using a SAP portal API.
    But the only code snippets I've found requires at least the name if the property metadata.
    In other cases a KM IResource object is needed but then you only have the property metadata that's applicable on that IResource.
    Is it possible to do what I have in mind?
    If so can you point me into the correct direction, or provide a code example.
    I've been looking at the IMetaModel, IMetaGroupListIterator, IMetaGroup etc but I've not found any solution.
    Thanks a lot!
    Kind regards,
    Dries

    Hi
    Try this:     
      IConfigurationAccess icAccess = Configuration.getInstance();
      IWDClientUser wdcu = WDClientUser.getCurrentUser();
       com.sap.security.api.IUser sapUser = wdcu.getSAPUser();
      IUser user = WPUMFactory.getUserFactory().getEP5User(sapUser);
      IConfigClientContext confContext = IConfigClientContext.createContext(user);
    IConfigManager icManager = icAccess.getConfigManager(confContext);
      IConfigPlugin icPlugin = icManager.getConfigPlugin(ConfigurationProxy.CFG_PLUGIN_CM_SERVICES_PROPERTIES_METADATA);
    IMutableConfigurable[] mcs = icPlugin.getConfigurables();
    this mcs object will give you list of all meta data property for this user.
    Hope this helps
    Regards
    Puneet

  • Is it possible to change Allowed Values (csv) in a property through an API?

    Hi everyone
    I would like to enable end users to change the Allowed Values (csv) in a property without giving them access to the system administration > system configuration part of the portal. Actually I would like to create a simple iview which could show the list from the Allowed Values (csv) entry of a specific property and let certain users maintain the values from that iview instead of through system administration.
    Do any of you know if its possible to develop this in some way? We have not been able to identify possible ways to change the Allowed Values (csv) entry through the KM API.
    Any help will be awarded.
    Best regards,
    Martin Søgaard

    Hi Martin,
    This is possible..
    try out below code..
    public void onActionUpdateProperty(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpdateProperty(ServerEvent)
         String strPropName =  wdContext.currentContextElement().getPropertyName();
         String strCurrentProp =  wdContext.currentContextElement().getCurrentProp();
         String strSelectedProp =  wdContext.currentContextElement().getSelectedProp();
         String namespace = "";
         boolean isNotSaved = false;
         //isPropertySaved = true;
         com.sapportals.wcm.service.propertyconfig.IMetaModel metaModel = null;
              //     IPropertyConfigurationService configService=null;
                   IMutableConfigurable imConf = null;
                        try
                             IConfigurationAccess icAccess = Configuration.getInstance();
                             IWDClientUser wdcu = WDClientUser.getCurrentUser();
                             com.sap.security.api.IUser sapUser = wdcu.getSAPUser();
                             IUser user = WPUMFactory.getUserFactory().getEP5User(sapUser);
                             IConfigClientContext confContext = IConfigClientContext.createContext(user);
                             IConfigManager icManager = icAccess.getConfigManager(confContext);
                             IConfigPlugin icPlugin = icManager.getConfigPlugin(ConfigurationProxy.CFG_PLUGIN_CM_SERVICES_PROPERTIES_METADATA);
                             IMutableConfigurable[] mcs = icPlugin.getConfigurables();
                             String propertyUniqueID = "";
                             String propertyNameSpace = "";
                             for (int i = 0; i < mcs.length; i++) {
                               IMutableConfigurable mc = mcs<i>;
                               if (mc.getPropertyValue("property_id").equals(strSelectedProp)) {
                                  propertyUniqueID = mc.getPropertyValue("unique_id");
                                  break;
                             try {
                                  imConf = icPlugin.getAndLockConfigurable(propertyUniqueID, 0, 0);
                                  imConf.setPropertyValue("values",<b>strCurrentProp</b>);
                             } catch (RuntimeException e1) {
                                       e1.printStackTrace();
                             icPlugin.replaceConfigurable(imConf);
                        catch (Exception e)
                             wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
                        finally
                             if (imConf != null)
                                  try
                                       imConf.unlock();
                                  catch (LockConfigException e)
                                       wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
        //@@end
    strCurrentProp is the value that is being set.
    Regards,
    Vikas

  • Default Locale won't carry over to Adobe Acrobat Language Property

    Repost from http://forums.adobe.com/thread/340914 . I have the same problem and have searched everywhere.  Any suggestions?
    In LiveCycle Designer ES, you can set the default "Form locale" under "Defaults" on the File Properties page.  This is essentially the default language for the form.  The problem comes when you generate a pdf from the form.  Regardless of this setting, if you view the Advanced tab under the pdf's document properties, the field "Language" under Reading Options is blank, and greyed out - you cannot change it.  This is the field Adobe uses to check for accessibility- if it is blank it gives an error message upon an accessibility check reading "the form lacks a language specification".  I have searched all over this forum and all over the web trying to figure out how to correct this with no luck.

    Hi LBarton,
    Have solved this issue? I have exactly same issue with PDF generated using Livecycle Designer ES2. Adobe documentation says following:
    In LiveCycle Designer, setting the primary language is accomplished by setting the Locale property of
    the form and the Locale property for the top-level subform. To identify changes to the primary
    language, change the Locale property for any object that uses a language other than the form’s
    language.
    To set the Locale property of a form:
    1. Choose File > Form Properties and select the Default tab
    2. Select the appropriate language for the Form Locale (see Figure 17)
    3. Click OK
    But this doesn't work. Let me know your experience.
    Thanks.

  • Forced request language property of Webdynpro iview

    Hi All,
    I've a situation with inhibiting translations of a webdynpro iview even though the property "Forced request Language" is set to English.
    Scenario:
    1)Two DCs DC1 has language translation files. DC2 does not have any language translations (not needed)
    2)DC2 displays views of DC1
    An iview is created out of DC2 and the Forced request language is set to English.
    User logs on (his language set to English). Everything is fine.
    User logs on (language set to non-english). The problem is, the views of DC1 in DC2 still pickup the translations according to user's language settings where as the views of DC2 appear in english (no translations in the first place).
    Meaning, the property Forced request language of the iview is not effective.
    Anyone has come across this before? I'm glad for any solution.
    Regards (ofcourse, along with points),
    Rajit Srinivas

    Hi Nagarajan,
    How did u achieve this??
    Regards,
    Anupama

  • How do I map custom property from portal api ptsearchresponse?

    I want to map the search results to my datatable.
    I can execute the search fine. But how do I map the property value? My property id is 101.
    In other words which ptSearchResponse method do I use?
                    IPTSession ptSession;
                    IPTSearchRequest ptSearchRequest;
                    IPTSearchResponse ptSearchResponse;
                    IPTSearchQuery ptSearchQuery;
                    string serverConfigDir = ConfigPathResolver.GetOpenConfigPath();
                    IOKContext configContext = OKConfigFactory.createInstance(serverConfigDir, "portal");
                    PortalObjectsFactory.Init(configContext);
                    ptSession = PortalObjectsFactory.CreateSession();
                    ptSession.Connect(1, "", null);
                    // Create a SearchRequest object
                    ptSearchRequest = ptSession.GetSearchRequest();
                    // Set search settings (constraints)
                    // Set maximum results desired (100)
                    ptSearchRequest.SetSettings(
                    PT_SEARCH_SETTING.PT_SEARCHSETTING_MAXRESULTS, 100);
                    // Set the folder in which to search (array to support multiple folders)
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_DDFOLDERS,
                        new int[] { Convert.ToInt32(ConfigurationManager.AppSettings["DocumentFolderId"]) });
                    // Include subfolders of the folder
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_INCLUDE_SUBFOLDERS, true);
                    // Restrict search to just portal documents
                    // (not ALI Collaboration or ALI Publisher)
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_APPS, PT_SEARCH_APPS.PT_SEARCH_APPS_PORTAL);
                    // get documents only
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_OBJTYPES, new int[] { PT_CLASSIDS.PT_CATALOGCARD_ID });
                    // Request the intrinsic PT_PROPERTY_PROVIDERCLSID and custom property 101
                    ptSearchRequest.SetSettings(
                        PT_SEARCH_SETTING.PT_SEARCHSETTING_RET_PROPS,
                        new int[] { PT_INTRINSICS.PT_PROPERTY_PROVIDERCLSID, 101 });
                    //Use IPTFilter to create search filter with clause with two statements
                    IPTFilter ptFilter;
                    IPTPropertyFilterClauses ptFilterClause;
                    IPTPropertyFilterStatement ptFilterStmt1;
                    IPTPropertyFilterStatement ptFilterStmt2;
                    // Create the filter itself
                    ptFilter = PortalObjectsFactory.CreateSearchFilter();
                    // Create the filter clause
                    ptFilterClause = (IPTPropertyFilterClauses)ptFilter.GetNewFilterItem(PT_FILTER_ITEM_TYPES.PT_FILTER_ITEM_CLAUSES);
                    ptFilterClause.SetOperator(PT_BOOLOPS.PT_BOOLOP_OR);
                    // Attach it to the filter itself
                    ptFilter.SetPropertyFilter(ptFilterClause);
                    // Put two statements into the clause
                    ptFilterStmt1 = (IPTPropertyFilterStatement)
                        ptFilter.GetNewFilterItem(PT_FILTER_ITEM_TYPES.PT_FILTER_ITEM_STATEMENT);
                    ptFilterStmt1.SetOperand(101);
                    ptFilterStmt1.SetOperator(PT_FILTEROPS.PT_FILTEROP_CONTAINS);
                    ptFilterStmt1.SetValue(tbSearch.Text.Trim());
                    ptFilterClause.AddItem(ptFilterStmt1, ptFilterClause.GetCount());
                    ptFilterStmt2 = (IPTPropertyFilterStatement)
                        ptFilter.GetNewFilterItem(PT_FILTER_ITEM_TYPES.PT_FILTER_ITEM_STATEMENT);
                    ptFilterStmt2.SetOperand(1);
                    ptFilterStmt2.SetOperator(PT_FILTEROPS.PT_FILTEROP_CONTAINS);
                    ptFilterStmt2.SetValue(tbSearch.Text.Trim());
                    ptFilterClause.AddItem(ptFilterStmt2, ptFilterClause.GetCount());
                    // Make the filter into an actual search query
                    ptSearchQuery = ptSearchRequest.CreateAdvancedQuery(ptFilter);
                    // Run the search and return results
                    ptSearchResponse = ptSearchRequest.Search(ptSearchQuery);               
                    // How many things matched the search?
                    int totalMatches = ptSearchResponse.GetTotalMatches();
                    // How many items were returned? (Not necessarily all)
                    int returnedMatches = ptSearchResponse.GetResultsReturned();
                    // create DataTable and map results to
                    // datatable fields
                    DataTable dtSearchResults = new DataTable("Documents");
                    dtSearchResults.Columns.Add("Name");
                    dtSearchResults.Columns.Add("Excerpt");
                    dtSearchResults.Columns.Add("DocSubject");
                    dtSearchResults.Columns.Add("DocTopic");
                    dtSearchResults.Columns.Add("DocType");
                    dtSearchResults.Columns.Add("DocKeywords");
                    dtSearchResults.Columns.Add("Url");
                    dtSearchResults.Columns.Add("ImageURL");
                    DataRow dr;                                                                                                          
                    // Print the name of each result
                    for (int i = 0; i < returnedMatches; i++)
                        dr = dtSearchResults.NewRow();
                        String strName = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_OBJECTNAME);                  
                        String strText = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_OBJECTSUMMARY);
                        String strURL = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_DOCUMENTURL);
                        String strImageURL = ptSearchResponse.GetFieldsAsString(i, PT_INTRINSICS.PT_PROPERTY_OBJECTIMAGEUUID);
                        dr["Name"] = strName;
                        dr["Excerpt"] = strText;
                        dr["Url"] = strURL;
                        dr["ImageURL"] = "pt://images/plumtree/portal/public/img/sml" + strImageURL + ".gif";
                        dtSearchResults.Rows.Add(dr);
    Edited by [email protected] at 04/11/2008 7:26 PM
    Edited by [email protected] at 04/11/2008 7:27 PM

    Problem solved. I should use JsonObject instead of JSONObject :D 

  • Menu00F9 not found after company language change

    Hi everyone, something about this problem? Changing then user language (form the General Settings System-Form), SAP restarts the system (all forms are closed), after that any access to the user menù fails.
    This is my code:
    dim oSBOMenus As SAPbouiCOM.Menus
    oSBOMenus = oCompany.Menus
    oSBOMenus.item("3072)  ' The Stock Management Menù"
    At last SAP show this error "Menù not found"
    Note: This code has non problem the first time, when the Environment starts.
    Thanks to all.
    Flavio

    HI Frank,
    As i show you, my code has no problem the first time. Im using SP1 PL9. I can solve the problem with the UserMenuService object like this:
    'Dim oUserMenuService As SAPbobsCOM.UserMenuService
                    'oUserMenuService = DirectCast(o, SAPbobsCOM.UserMenuService)
    'Dim oUserMenuParams As SAPbobsCOM.UserMenuParams
    'oUserMenuParams = DirectCast(oUserMenuService.GetDataInterface(SAPbobsCOM.UserMenuServiceDataInterfaces.umsdiUserMenuParams), SAPbobsCOM.UserMenuParams)
                    'oUserMenuParams.UserID = 3072
    'Dim oUserMenuItems As SAPbobsCOM.UserMenuItems
                    'oUserMenuItems = oUserMenuService.GetUserMenu(oUserMenuParams)
    The UserMenuService works fine, but the SAPbouiCOM.Menus has some problem. Id like use both in the future (all my add-ons used the SAPbouiCOM.Menus)
    Thanks
    Flavio

  • Language added to ServletContext api in J2EE1.4

    In the description of the setAttribute() method of ServletContext, the following warning was added to the J2EE1.4 api. Does anyone know what it means (the specs have no explanation)? Are they discouraging setting attributes when dispatching from one web application to another?
    "It is warned that when the request is dispatched from the servlet resides in a different web application by RequestDispatcher, the object set by this method may not be correctly retrieved in the caller servlet."

    In the description of the setAttribute() method of ServletContext, the following warning was added to the J2EE1.4 api. Does anyone know what it means (the specs have no explanation)? Are they discouraging setting attributes when dispatching from one web application to another?
    "It is warned that when the request is dispatched from the servlet resides in a different web application by RequestDispatcher, the object set by this method may not be correctly retrieved in the caller servlet."

  • Changing Storage Property via C API

    I am trying to change the storage and consolidation properties via the C API with the following code:memberInfo->usShare = ESS_SHARE_DATA;memberInfo->usConsolidation = ESS_UCALC_SUB;cout << "EssOtlSetMemberInfo... ";status = EssOtlSetMemberInfo( outline, phMember, memberInfo );cout << status << '\n';I get no errors when I do this and know that phMember points to the correct member. After doing this, I write, restructure, and close the outline, but the changes to the Storage and Consolidation tags are lost.And ideas or requests for more info?Thanks!Bill

    Hi Shanti,
    Thanx alot for helping on both posts, I answered you on the other one and I think the same answer aplies to this one too, I fond this on help.sap
    "PCD Roles: These are semantic objects that represent collections of content that can be assigned to a user.
    There is no public API for accessing these roles."
    here the link
    http://help.sap.com/saphelp_nw70/helpdata/en/44/43863b2e641193e10000000a155369/frameset.htm
    accordint to that then is no way to modify the Role via API to achieve this, or do you thing this is only on 7.0 and now in 7.1 it is posible?
    Thanx in Advanced!
    Kind Regards,
    Gerardo J

  • Language Property of KM Repository Manager Node

    Hi Community,
    i developed a Custom Repository Manager based on the Tutorial form the Code Samples Section.
    I have a question regarding to the language of the TREX Search Results. Everything works fine, but the results have some strange languages. I have a german Site wich has the Langugage catalan. I think the Trex decides automatically which langugage the content has.
    How can i set the language-attribute in my Repository Manager manually? I tried to set the langugage to German by using the following in the function getProperties in the Node-Class:
    SystemPropertyFactory.createContentLanguageProperty("de").
    is that the right way?
    Greetz Marcus

    Hi,
    in order to re-read the config when it is changed you have to implement <b>IConfigListener</b> interface. See my reply in this thread:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=99794">Re: How to read a file(Propeties files) from a respository service - IConfigListener</a>
    But I'm not sure that also works effectively with repository managers.
    For more info just let me know,
    Romano

Maybe you are looking for

  • How to charge my MacBook Pro in Singapore

    I will be travelling in Singapore this August where the electricity is 220 volts and different plug than the USA. How to recharge my MacBook Pro?

  • I'm looking for a high quality image of the flower in the iPhone 5 the website.

    There is a flower that is used in the apple website, for the iPhone 5. It is purple and yellow. I've been looking all over the web for it but cannot find an image of it that doesn't have a glare on it. I guess it is owned by apple, but I was wonderin

  • PDF files in Launchpad ????

    Hello everyone I get to download Magazines in PDF format So is there anyway I can put each magazine as a seperate file in the launchpad ??? I know launchpad is for applications, but is there a way I can put my pdfs onto the launchpad ? whether sepera

  • Safari 4.0.5 unexpectedly quits

    Hi folks, My profuse apologies to all for treading this well trodden path of Safari quitting, but I really can't put my finger on why it's happening. I can open and use Safari with no problems but just now and again the app quits. I have repaired dis

  • Firefox wants to save a pdf I select online. How can I just read it?

    When I select a pdf online, Firefox is set to save the file somewhere. How can I change this so that I can just read the pdf, then decide to save it later?