Ye Meri Life Hai - Chirag Mehta

Be Good & Do Good!

Search results: "ki" (page 9 of 57)

Ability to create alias for field labels across Profiles

Problem Statement
We have users in multiple countries and different vernacular for the same entity. Is it possible to create an alias for a record type that displays for users with a specific profile so we can use the same record types and records, yet have the customization between different countries? It’s almost like using translations, but it’s all within the English language.

Example: Record Type “Municipality” vs. “Local Authority” for same records
Everyday users see Municipality
UK users see Local Authority

Possible Solutions

Terrence: Look at the new Translation Workbench feature. The Translation Workbench allows you to create translations for the customizations you’ve made to your Salesforce.com organization. Everything from custom picklist values to custom fields can be translated so your global users can use all of Salesforce.com in their language.
Go to Setup | Admin Setup | Translation Workbench.

Tom: You may also be able to utilize the Tags function. Setup / Customize / Tags.
This would enable each user to “tag” the field with the name that they are comfortable with. That would help them with the different names in different areas.

Paul: Unfortunately I don’t see how either of these options will work. The translation workbench does not specify English and English (UK) as two different languages, and I imagine if you set someone’s language to another language like Spanish then all of the standard tabs and fields are in that language. I don’t see how to change the translations for standard tabs and fields in the workbench.

The tag feature is for tagging records, it does not allow you to tag fields, and it has to be done for each record.

I think you have two options:

One option is just to make all the fields have both names, like State/Province. In your example just rename the field Municipality/Local Authority. You can even rename standard fields under Setup > Customize > Tab Names and Labels. RECOMMENDED Solution

Your other option is to create two fields for each one that you want to modify. Setup a workflow rule or trigger that automatically updates the matching field whenever it’s entered. Then create two different page layouts that are used based on the user’s profile (so UK users would have to have a different profile from US users).

Depending on the number of fields that you’re talking about, the second one could get really complicated.

Discussion @ Salesforce Linked In

YUI Library – The transparent mask turns black in IE 8

Problem Statement
I use the YUI dialog in my project and turn on the “modal”, the initializing code looks like:

document.mainDialog = new YAHOO.widget.Dialog("mainPanel",
{ modal: false,
width: "89em",
height: "30em",
fixedcenter: true,
visible: false,
constraintoviewport: true
});

The modal works fine in IE 7.0 and Fireforx 3.0, it generates a transparent mask to prevent activating any elements in the document before closing the modal. But in IE 8.0, the transparent mask turns to “black”, rather than “transparent”.

Solution
The cause is that IE8 does not support the CSS3 ‘opacity’ selector. But YUI uses this to style the mask as follows:

.yui-skin-sam .mask {
background-color:#000000;
opacity:0.25;
}

To solve this problem – I have an IE specific stylesheet in which I override the above style as follows:

.yui-skin-sam .mask{
filter: alpha(opacity=30);
}

Read more about the bug @ YUI Library

Salesforce – FTP Integration (Data loader, Web service & HTTP)

Author : Chirag Mehta & Angelica Buffa

Using FTP servers to store and share files is very common now at days. Most language programs let you develop FTP clients and consume their services.

With Apex, there are three possible approaches to resolve the integration with this kind of file servers:

I – Data Loader CLI – Windows approach.

  1. Download Salesforce Data Loader Command Line Interface (Read more at http://wiki.developerforce.com/index.php/Using_Data_Loader_from_the_command_line)
  2. Write a Widows Batch file (.bat file)
  3. First command in the batch file will be connect to FTP server (ms-dos command ‘ftp’) and then get the necessary files from ftp server to the local folder.
  4. Second set of commands execute the Data Loader CLI jar and loads step3 retrieved file into Salesforce.
  5. To automate the execution of the batch, we can schedule the bat file execution using scheduled task feature of Windows operating system.

II – Java Web Service

  1. Write a Java FTP client, expose it as a Web Service
  2. Consume above WS into your Salesforce Org using Apex “Browse WSDL” functionality

III – Http Request

  1. Create a Http Request to the FTP server
  2. Handle the response using either of HttpRequest and HttpResponse Apex Class
  3. Ps: The problem that you can face is the size of the files. Please remember that HTTP Request size are currently limited to 100Kb of data, so larger exports would fail unless a mechanism was created to utilize multi-part transmissions.

Webinar : Salesforce Chatter Developer Preview Tech Talk

http://wiki.developerforce.com/images/thumb/c/ca/Chatterlogo.gif/100px-Chatterlogo.gifSalesforce Chatter is a new collaboration platform that lets you build collaborative cloud-computing applications on Force.com, applications enhanced with rich user profiles, status updates, feeds for monitoring applications and users, and more. In this webinar you will:

Watch the webinar, and learn about Chatter Developer Preview:

  • Understand the rich and powerful Chatter features
  • Get to see a demo illustrating the value of Chatter
  • Learn about the tools for customizing your apps with rich social media

    Google Introduces the Blogger Template Designer

    Google introduced the Blogger Template Designer | http://blogger.com/templates

    The Blogger Template Designer allows you to create effectively infinite number of designs templates instead of being restricted to a limited number of rigid designs by making it easy to customize your blogs design, layout, background and much more.

    Developing Web Services Using Apache Axis2 Eclipse Plugins

    Apache Axis2 Eclipse Plugins allow Web service developers to easily and speedily expose the available plain old Java applications as Web services.

    wso2.org lists a tutorial by Lahiru Sandakith which consists of two parts, with two examples that walk you through developing and deploying a sample Web service using the Top-down (Contract First) and Bottom-up (Code First) approach using Axis2 Eclipse Plugins.

    The tutorial is written for Eclipse SDK v3.2 and Axis2 Eclipse Plugin v1.3.

    Read the tutorial at http://wso2.org/library/1719

    Salesforce Apex Commons Lang Project

    apex-lang is an open-source library of helper classes written purely in apex whose goal is to address shortcomings in the core apex classes. (If you’re not familiar with apex, apex is the programming language provided by salesforce.com’s development platform and is essentially a trimmed down version of java with added syntax for exploiting the force.com platform.)

    apex-lang was inspired by the Apache Commons Lang project whose creators had a similar goal of addressing gaps in java’s core API. apex is fairly feature rich; however, let’s face it, functionality in its core API is sorely lacking. And why shouldn’t it? salesforce.com is in the “on-demand platform” business, not the API building business.

    On the other hand, apex-lang is very much in the API building (not for profit) business. So, its the intent of apex-lang to fill in the gaps in the core apex classes. And to fill them more quickly than salesforce can. Salesforce only has 3-4 releases a year; in contrast, apex-lang can be released as many times as needed during a single year.

    Install to:
    Production as Managed Package
    Sandbox as Managed Package
    Production as Unmanaged Package
    Sandbox as Unmanaged Package

    Alternatively, you can Download the source or Browse the code

    Also available on AppExchange @ http://sites.force.com/appexchange/listingDetail?listingId=a0N30000001qoYfEAI

    Ack : Richard.Vanhook

    Google’s Cloud Computing Phone application – translate text in real time

    Stumped by foreign languages when you’re traveling? Google Inc. is working on software that translates text captured by a phone camera.

    At a demonstration Tuesday at Mobile World Congress, a cell phone trade show in Barcelona, an engineer shot a picture of a German dinner menu with a phone running Google Inc.’s Android software. An application on the phone sent the shot to Google’s servers, which sent a translation back to the phone.

    It translated “Fruhlingssalat mit Wildkrautern” as “Spring salad with wild herbs.”

    There was no word on when the software would be available.

    Software that translates text from pictures is already available for some phones, but generally does the processing on the phone. By sending the image to its servers for processing, Google can apply a lot more computing power, for faster, more accurate results. The phone still won’t order for you, though — you’ll have to point at the menu.

    The demonstration was part of Google CEO Eric Schmidt’s keynote speech at the trade show, the largest for the wireless industry. He said phone applications that take advantage of “cloud computing” — servers accessible through the wireless network — will bring powerful changes to the industry.

    Highlights of Union Budget 2010 (Govt. of India)

    • Finance Mister, Mr. Pranab Mukherjee presented the Budget for 2010 – 2011 today with an eye towards growth, yet targeted to enforce fiscal discipline. With the reduction in income tax rates (providing much relief to the already stretched wallet of the Indian tax payer!) as well as the hike in rates of petro products, the FM has shown that it is serious in terms of achieving its objective of implementing reforms in the areas of direct tax and reduction in subsidies. An unexpected announcement was that of the grant of new banking licenses to private players including NBFCs.
    • The fiscal deficit target for FY11 has been set at 5.5% of GDP, with further improvement to 4.8% in FY12 & 4.1% in FY13. The reduced government borrowing of 3.45 lakh crores for FY11 is a positive.
    • Divestments for the current year are targeted at Rs. 25,000 crores which seems achievable. Key areas requiring attention have been addressed with increased spending on infrastructure, agriculture, rural development, health and education.
    • The much awaited reforms in taxation, Direct Tax Code (DTC) and GST have not been discussed in detail but confidence was restored with rollout been fixed as 1st April, 2011. Nevertheless, with the reduction in tax rates, the FM has clearly displayed his seriousness in ensuring the smooth rollout of the DTC.
    • The Budget has partially rolled backed stimulus measures by hiking excise duty by 2% on all non-petroleum goods like cement, auto, etc. The hike in excise duty levied on petroleum products will have an inflationary impact.
    • On the corporate side, surcharge on corporate tax has been reduced to 7.5% from 10%, with the effective corporate tax now lower at 33.22% versus 33.99%. MAT has been increased to 18% from 15% which can impact some large corporates.
    • The Government has taken steps to simplify the FDI policy by consolidating all prior regulations and guidelines into one comprehensive document. This we believe is a good step in order for a developing country like India to continuously attract long term funds. The issue of FDI in sectors like Retail and Insurance have not been discussed in the Budget, but it could be brought up in the FDI policy document.

    The FM has re-emphasized his commitment to the reform process and positive steps have been taken in this regard. However, the final verdict will depend on the conversion of this positive intent into actual execution.

    Source : Edelweiss.in

    Johnny-Johnny reloaded

    Johny Johny
    Yes Papa
    Pvt Company
    Yes Papa
    Any Motivation
    No Papa
    Many Tension
    Yes Papa
    Do u Sleep well
    No Papa
    Onsite Opportunity
    No papa
    Boss Ki Galiyan
    Yes Papa

    Increment
    Ha ha ha 🙂

    « Older posts Newer posts »