locked
ms crm 4.0 - manually, how to insert localization values into the site maps. RRS feed

  • Question

  • ms crm 4.0 - manually, how to insert localization values into the site maps?

    Please provide steps.

     

    Thanks,

    Rajeev.

     

    Tuesday, December 20, 2011 9:05 AM

Answers

  • Hi Rajeev,

    Please Look at the below code ,

     

    <Area Id="CS" ResourceId="Area_Service" Icon="/_imgs/services_24x24.gif"
          DescriptionResourceId="Customer_Service_Description">
    <Titles>
       <Title LCID="1033" Title="Support"/>
    </Titles>
    <Group Id="CS"> 
    
    

    like that you need to change Title with  LCID(Language) and DislpaName

     


    By Sanz If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    • Edited by san Sanz Tuesday, December 20, 2011 9:59 AM
    • Proposed as answer by san Sanz Tuesday, December 20, 2011 9:59 AM
    • Marked as answer by CRM Rajeev Wednesday, December 28, 2011 5:37 AM
    Tuesday, December 20, 2011 9:59 AM
  • Hello Rajeev,

    Export sitemap - edit sitemap with required values - import sitemap back to CRM.


    Microsoft CRM Freelancer

    My blog (english)
    Мой блог (русскоязычный)
    Follow Andriy on Twitter
    • Marked as answer by CRM Rajeev Wednesday, December 28, 2011 5:37 AM
    Tuesday, December 20, 2011 9:54 AM
    Moderator

All replies

  • Hello Rajeev,

    Export sitemap - edit sitemap with required values - import sitemap back to CRM.


    Microsoft CRM Freelancer

    My blog (english)
    Мой блог (русскоязычный)
    Follow Andriy on Twitter
    • Marked as answer by CRM Rajeev Wednesday, December 28, 2011 5:37 AM
    Tuesday, December 20, 2011 9:54 AM
    Moderator
  • Hi Rajeev,

    Please Look at the below code ,

     

    <Area Id="CS" ResourceId="Area_Service" Icon="/_imgs/services_24x24.gif"
          DescriptionResourceId="Customer_Service_Description">
    <Titles>
       <Title LCID="1033" Title="Support"/>
    </Titles>
    <Group Id="CS"> 
    
    

    like that you need to change Title with  LCID(Language) and DislpaName

     


    By Sanz If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    • Edited by san Sanz Tuesday, December 20, 2011 9:59 AM
    • Proposed as answer by san Sanz Tuesday, December 20, 2011 9:59 AM
    • Marked as answer by CRM Rajeev Wednesday, December 28, 2011 5:37 AM
    Tuesday, December 20, 2011 9:59 AM
  • Hi Andriy

    i am sorry to post my question here,

    Its regarding ssis, a flat file integration.. for crm 4.0. 

    i have done it reffering to the folowing  blog,

    http://blogs.msdn.com/b/crm/archive/2009/12/31/data-integration-migration-using-sql-integration-services-ssis-2008.aspx

    i have successfully  created and even updated the existing entity records, but this time.. i was trying to update a related record, eg: accounts has addresses related to it, i wanted to update the "addresses"  to the existing "Account records" in crm 4.0,

    but did not work!! the script component which i am using is throwing error!! even after using a try.. catch.. block!! the error is not clear!!

     

     

    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    
    using SC_df0d701671db41eba60500d15c3c3d65.csproj.crmservice;
    
    
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
    {
        CrmService service;
        public override void PreExecute()
        {
            base.PreExecute();
            CrmAuthenticationToken token = new CrmAuthenticationToken();
            token.AuthenticationType = 0;
            token.OrganizationName = "ABBA";
    
            service = new CrmService();
            service.Url = "http://localhost:8000/mscrmservices/2007/crmservice.asmx";
            service.CrmAuthenticationTokenValue = token;
            service.Credentials = System.Net.CredentialCache.DefaultCredentials;
    
        }
    
        public override void PostExecute()
        {
            base.PostExecute();
            /*
              Add your code here for postprocessing or remove if not needed
              You can set read/write variables here, for example:
              Variables.MyIntVar = 100
            */
        }
    
        public override void Input0_ProcessInputRow(Input0Buffer Row)
        {
            
            try
            {
    
                customeraddress cust = new customeraddress();
                Lookup lp = new Lookup();
                if (!Row.accountid_IsNull)
                {
                    lp.name = Row.name;
                    lp.Value = new Guid(Row.accountid.ToString());
                    cust.parentid = lp;<br/>                lp.type = "account"; <br/>        }
    
                
                if (!Row.SITENAME_IsNull)
                {
                    cust.name = Row.SITENAME;
                }
               
    
                service.Create(cust);
            }
    
            catch (System.Web.Services.Protocols.SoapException e)
            {
                throw new Exception(string.Format("{0}", e.Detail.InnerText));
             
    
    
            }
    
        }
    
    }
    

    the error is  "0x80040216  An unexpected error occurred. Platform" even i tried populating / mapping every field in the address entity in the code, it did not work!! please explain me how to go about  with this... thanks in advance!!

     


    (prijil.p.s)
    Thursday, December 29, 2011 10:12 AM