shariq
IndividualForum Replies Created
-
shariq
MemberSeptember 18, 2018 at 10:28 PM in reply to: How many inbound and outbound connections are possible for one sandbox?Hi,
I think there will be limit which is dependent on your Org License. Correct me if I am wrong.
Thanks.
-
shariq
MemberSeptember 18, 2018 at 10:25 PM in reply to: How can we add customise case flag icon in Salesforce?Hi,
Flag Icons and Hour Intervals
Case Flags provides four flag levels representing the number of elapsed hours that a customer has been waiting.Flag level intervals and the icons are configurable to meet your business needs. For maximum flexibility, flag level intervals can be defined in 3 ways:Organization-Wide (applied if there are neither Account nor Case specific intervals)
Account-Specific (based on values specified on the Case's Account, and applied if there are not Case-specific intervals)
Case-Specific (based on values specified on the Case; the most flexible method of defining intervals)
Depending on your requirements, you can use one approach or all of them together.This what I found online -
IMAGE(
CASE( Dependents__c ,
"Yes", "/img/samples/flag_green.gif",
"No", "/img/samples/flag_Red.gif",
"/s.gif"),
"Dependent Flag")Hope this helps.
-
shariq
MemberSeptember 18, 2018 at 10:18 PM in reply to: How to configure Routing Addresses for Email-to-Case in Salesforce?Hi,
Note -
Before you set up routing addresses for Email-to-Case and On-Demand Email-to-Case, enable Email-to-Case andconfigure your Email-to-Case settings.
Hope this helps.
-
shariq
MemberSeptember 18, 2018 at 10:16 PM in reply to: How Question-to-Case makes it easier to resolve customers issues in Salesforce?Hi,
Most Important-
The Basic Building Blocks of Fast Case Resolution
Think about a world in which your service agents have all the information they need at their fingertips—enabling them to resolve cases and rarely escalate cases to a manager. A world where your customers can answer their own questions, or even help solve tough cases. And what if you never had to think about your case management processes, because they just worked? Imagine how much easier service delivery can be!Chatter Questions lets customers ask questions in the feed in communities and in your Salesforce organization. With Question-to-Case, you can now give moderators the ability to escalate questions in Chatter to cases, making it easier to track and resolve your customers’ issues.
Question-to-Case is available in the full Salesforce site and the Salesforce1 mobile browser app, as well as in communities where Chatter Questions is enabled. You can add it to your Salesforce organization, your communities, or both!If a question in Chatter isn’t resolved, moderators can escalate the question to a case directly in the feed. You can also set up processes—similar to workflow rules—in the Lightning Process Builder that automatically create cases from questions that meet specified criteria. Cases created from questions are added to a queue for support agents to claim, based on your organization’s case routing rules.
When a customer’s question is turned into a case, the customer receives an email with the case number and a link to the case. The customer can also view the case via a link on the question that’s visible only to them, while moderators see a note on the question indicating that a case was created.
When agents find a solution, they can respond to questions directly from the case, and the customer sees the agent’s response on the question or in the My Cases view. Agents choose whether the reply is visible to the community, or only to the customer who asked the question.
Hope this helps.
-
shariq
MemberSeptember 18, 2018 at 3:41 PM in reply to: Differences between all of the messaging optionsHi,
<apex:message> :
A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log.
<apex:messages> :
All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log.
<apex:pageMessage> :
This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity.
-
shariq
MemberSeptember 18, 2018 at 3:32 PM in reply to: How to create a pop up in Salesforce Lightning?Hi,
You can use the below code :
<div class="slds">
<div aria-hidden="true" role="dialog" class="slds-modal slds-modal--prompt slds-fade-in-hide" aura:id="modaldialog">
<div class="slds-modal__container">
<div class="slds-modal__header slds-theme--info">
<button class="slds-button slds-button--icon-inverse slds-notify__close" onclick="{!c.hidePopup}">
<c:svg aria-hidden="false" class="slds-button__icon slds-button__icon--large" xlinkHref="/resource/SLDS105/assets/icons/action-sprite/svg/symbols.svg#close">
</c:svg>
<span class="slds-assistive-text">Close</span>
</button>
<h2 class="slds-text-heading--medium">Your Title</h2>
</div>
<div class="slds-modal__content slds-p-around--medium">
<div>
<p>{!v.body}</p>
</div>
</div>
</div>
</div>
</div>Thanks
-
shariq
MemberSeptember 18, 2018 at 3:31 PM in reply to: Explain what does the “types” define in WSDL?Hi,
A web service needs to define its inputs and outputs and how they are mapped into and out of the services. WSDL <types> element takes care of defining the data types that are used by the web service. Types are XML documents, or document parts.
The types element describes all the data types used between the client and the server.
WSDL is not tied exclusively to a specific typing system.
WSDL uses the W3C XML Schema specification as its default choice to define data types.
If the service uses only XML Schema built-in simple types, such as strings and integers, then types element is not required.
WSDL allows the types to be defined in separate elements so that the types are reusable with multiple web services.Here is a piece of code taken from W3C specification. This code depicts how a typeselement can be used within a WSDL.
<types>
<schema targetNamespace = "http://example.com/stockquote.xsd"
xmlns = "http://www.w3.org/2000/10/XMLSchema"><element name = "TradePriceRequest">
<complexType>
<all>
<element name = "tickerSymbol" type = "string"/>
</all>
</complexType>
</element><element name = "TradePrice">
<complexType>
<all>
<element name = "price" type = "float"/>
</all>
</complexType>
</element></schema>
</types>Data types address the problem of identifing the data types and the formats you intend to use with your web services. Type information is shared between the sender and the receiver. The recipients of messages therefore need access to the information you used to encode your data and must understand how to decode the data.
Thanks
-
shariq
MemberSeptember 18, 2018 at 3:28 PM in reply to: How to use remote site settings in salesforceHi,
Remote site settings. Salesforce allows you to access external website resources from a Salesforceapplication for your organization. You can access these external websites through Visualforce pages, Apex Callout, and via XmlHttpRequest calls.
Thanks
-
Hi,
Bucketing lets you quickly categorize report records without creating a formula or a custom field. For example, create a bucket field named Size based on the # Employees field. Then, create buckets that group records into “Large,” “Medium,” or “Small” ranges that you define. Bucket fields can be used like any other field to sort, filter, and group your report.
You can add up to five bucket fields per report, each with up to 20 buckets. Only numeric, picklist and text field can be used for bucketing. Other data types are not supported
Thanks
-
shariq
MemberSeptember 18, 2018 at 3:07 PM in reply to: How to add Javascript Remoting to a Visualforce Page in Salesforce?Hi,
JavaScript remoting is a tool that front-end developers can use to make an AJAX request from a Visualforce page directly to an Apex controller. JavaScript remoting allows you to run asynchronous actions by decoupling the page from the controller and to perform tasks on the page without having to reload the entire page.
In addition, JavaScript remoting can help alleviate view state issues while still executing in the context of the user viewing the page. JavaScript remoting is the most efficient way of calling the controller and passing data in from the page, because you can ensure that you’re passing only the data that you need each time that you make a call.Thanks
-
shariq
MemberSeptember 18, 2018 at 3:05 PM in reply to: What is metadata - driven development model ?Hi,
Developers can use the Metadata API to programmatically manage their app's setup. The Lightning Platform Metadata API provides an alternative to the platform's user interface by allowing developers to directly modify the XML files that control their organization's metadata. Developers can also use the Metadata API to migrate configuration changes between organizations, and create their own tools for managing organization and application metadata.
Although at first glance metadata-driven development may seem somewhat esoteric, it's exactly the same model for how Web browsers work. Instead of hard coding the definition of a Web page in a free-form programming language, a Web page author first defines the page as HTML, which is itself a kind of metadata. When a user requests a page, the Web browser renders the page using the metadata provided in the HTML tags. Even though the HTML/browser combination does not allow authors as much formatting power as they might get in a regular publishing tool, it simplifies the work of publishing content to a wide audience and increases the Web page author's overall productivity.
Likewise, the Lightning platform vastly simplifies the work of building an app and increases a developer's overall productivity. And, like Web pages that use JavaScript or Flash to add functionality to HTML pages, the Lightning platform also provides ways for more advanced developers to add custom functionality to the apps you build.
-
Hi,
Though we can manage the access to different objects and records through organization-wide settings and role hierarchies, we come across situations wherein, exceptions are required. We need to grant access to specific data to specific users who are not able to access the required data because of their roles. For example, to see the case history when a user has only access to the current case details. In such scenarios, we take help of sharing rules. Through this mechanism, we create a public group which will accommodate all the users who need such exception and then add sharing rules to such a group.
Thanks
-
shariq
MemberSeptember 18, 2018 at 11:12 AM in reply to: What is the difference between a query and a table in Salesforce SOQL?Hi,
Table - Table is the combination of rows and columns. It is used to store records.
Query - It is the statement to fetch records of a table.
Thanks
-
shariq
MemberSeptember 18, 2018 at 11:02 AM in reply to: What is the use of Action Function and how to implement it in a Salesforce Visualforce Page?Hi,
apex:actionFunction :
It provides support for calling an apex method from JavaScript code using an AJAX request. An <apex:actionFunction> component must be a child of an <apex:form> component. An apex:actionFunction cannot be placed inside an iteration component <apex:pageBlockTable>, <apex:repeat>.
Below is a sample snippet of code :
<apex:page standardController="Opportunity" showHeader="false" Sidebar="false" extensions="actionfunctionDemo">
<style>
.m-top25{margin: 5px 0 10px 0}
.m-buttom{margin-top: -13px;position: absolute;left: 7.5%;}
body .order-create-btn{display:block;text-align:left;padding-left:30%}
body .order-create-btn .btn{display: inline-block;vertical-align: middle;padding: 5px;text-decoration:none;margin-left:7px}
body .order-create-btn .btnDisabled{display: inline-block;vertical-align: middle;padding: 5px;text-decoration:none ;margin-right:15px}
.order-create-btn .loading{display: inline-block;vertical-align: middle;}
</style><div class="m-top25"><apex:pageMessages id="errorId" /></div>
<apex:form id="theform">
<div class="m-buttom"/>
<apex:outputPanel>
<span class="order-create-btn">
<a class="btn" onclick="checkDoubleSubmit(this)" target="_top">Update Opportunity</a>
<apex:actionStatus startText="Updating...." id="statusId" styleclass="loading"></apex:actionStatus>
</span>
</apex:outputPanel>
<apex:actionfunction name="updateOpportunity" action="{!updateOpp}" rerender="theform,errorId" oncomplete="lod({!reloadPage});" status="statusId"/><script>
function lod(isReLoad) {
if(isReLoad == true) {
top.location.href="/"+"{!thisOpportunity.Id}";
}
}</script>
<script>
var isClicked = false;
function checkDoubleSubmit(obj){
if (isClicked) {
alert('Please wait. Updating TRACT....');//For testing message only.
return false;
}else {
isClicked = true;
obj.className = 'btnDisabled';//only shows the button as disabled.
updateOpportunity();
return false;
}
}
</script>
</apex:form>
</apex:page> -
shariq
MemberSeptember 18, 2018 at 10:56 AM in reply to: How can we track the status of an email sent to the customer?Hi,
You can activate the ability to track these emails by following the click paths below:
Classic:
ORIGINAL Setup interface: Setup | App Setup | Customize | Activities | Activity Settings | Enable Email Tracking (checkbox)
NEW Setup interface: Setup | Build | Customize | Activities | Activity Settings | Enable Email Tracking (checkbox)Lightning
Setup | Feature Settings | Sales | Activity Settings | Enable Email Tracking (checkbox)
-
shariq
MemberSeptember 18, 2018 at 10:40 AM in reply to: Can anybody suggest me the usage of jquery.noConflict()?Hi,
jQuery uses the $ sign as a shortcut for jQuery.
There are many other popular JavaScript frameworks like: Angular, Backbone, Ember, Knockout, and more.
What if other JavaScript frameworks also use the $ sign as a shortcut?
If two different frameworks are using the same shortcut, one of them might stop working.
The jQuery team have already thought about this, and implemented the noConflict() method.
The jQuery noConflict() Method
The noConflict() method releases the hold on the $ shortcut identifier, so that other scripts can use it.Thanks
-
shariq
MemberSeptember 18, 2018 at 10:35 AM in reply to: What are the types of custom settings in Salesforce?Hi,
Custom Settings are persisted in the database. However they're also cached.
When using the cache methods Custom_setting__c.getAll(), .getInstance(), and .getValues(), Salesforce uses the cached values.
If you use a SOQL query (SELECT id, name, etc FROM Custom_setting__c) to get data for a custom setting, Salesforce queries the database and uses one of your allotted queries.
NOTE: I've found that you can only consistently modify a custom setting if you use a SOQL query to load it. Loading via a cache method does not load the custom setting's id which is required to update the custom setting.
Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user.
Accessing a Hierarchy Custom Setting
The following example uses the getOrgDefaults method to return the data set values for the organization level:CustomSettingName__c mc = CustomSettingName__c.getOrgDefaults();
The following example uses the getInstance method to return the data set values for the specified profile. The getInstancemethod can also be used with a user ID.CustomSettingName__c mc = CustomSettingName__c.getInstance(Profile_ID);
Accessing a List Custom Setting
The following example returns a map of custom settings data. The getAll method returns values for all custom fields associated with the list setting.Map<String_dataset_name, CustomSettingName__c> mcs = CustomSettingName__c.getAll();
The following example uses the getValues method to return all the field values associated with the specified data set. This method can be used with both list and hierarchy custom settings, using different parameters.CustomSettingName__c mc = CustomSettingName__c.getValues(data_set_name);
-
Hi,
Development environments are used strictly for developing and testing apps. These environments contain test data that are not business critical. Development can be done inside your browser or with the Force.com IDE, which is based on Eclipse. There are two types of development environments: Developer Edition and Sandbox.
A Developer Edition environment is a free, fully-featured copy of the Enterprise Edition environment, with less storage and users. DE is a logically separate environment, ideal as your initial development environment. You can sign-up for as many DE organizations as you need. This allows you to build an application designed for any of the Salesforce production environments.
Developer Edition :
- It has 2 full CRM licenses.
- It has 5 MB of storage.
- It has API enabled.
- It's Sign-up is Free!
Partner Developer Edition :
- 20 full CRM licenses.
- 20 Force.com Platform licenses.
- 250 MB of storage.
- It has API enabled.
- This is a DE org with more storage, features and licenses. Free for enrolled partners.
Thanks
-
shariq
MemberSeptember 18, 2018 at 8:19 AM in reply to: What is Salesforce Steelbrick? How can I use It for generating quotation based on custom zones pricing structure?Hi,
Salesforce offers a full quote-to-cash platform, comprised of Salesforce CPQ (configure-price-quote) and Salesforce Billing. You can configure quotes, manage pricing, and create contracts and orders with Salesforce CPQ. From there, you can generate invoices, collect one-time and recurring payments, and easily recognize revenue with Salesforce Billing.
CPQ stands for configure, price, and quote. To remember that, think of these questions: What products does the customer want to buy (configure)? How much do those products cost (price)? How can we give the customer details about the sale (quote)?
The C is for configure. You pick out what they’ll buy.
The P is for price. We add it up, easy as pie.
The Q is for quote: A nice PDF for you.
Salesforce CPQ uses smart rules to make sure you and your reps sell related products together and to prevent incompatible products from ending up on the same quote.
a quote is both the document you give the customer and the electronic record of quote data. Your opportunity is where you go to create a new quote. You can create many quotes on that opportunity, but only one can be your primary quote.
After you create a quote, you add products. Salesforce CPQ makes it easy. You click Add Products to display a list of active products, and you simply check which products you want to include on the quote.
Quotes in Salesforce represent the proposed prices of your company's products and services. You create a quote from an opportunity and its products. Each opportunity can have multiple associated quotes, and any one of them can be synced with the opportunity.
Thanks
-
shariq
MemberSeptember 18, 2018 at 8:13 AM in reply to: What are the tools included in Salesforce lightning?Hi,
Lightning is the collection of tools and technologies behind a significant upgrade to the Salesforce platform. Lightning includes:
Experience: A set of modern user interfaces optimized for speed. This includes the Lightning Experience, Salesforce1 Mobile app and template-based communities.
Lightning Component Framework: A JavaScript framework and set of standard components that allow you to build reusable components to customize the Lightning Experience, Salesforce1 Mobile app and template-based communities and build your own standalone apps.
Visual Building Tools: Drag-and-drop technologies for fast and easy app building & customizations. Use the Lightning App Builder to customize the Lightning Experience and Salesforce1 Mobile app. Use the Community Builder to customize template-based communities.
Lightning Exchange: A section of the AppExchange where you can find 70+ partner components to jumpstart your development.
Lightning Design System: Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app.Hope this helps!
-
Hi,
A controller extension is any Apex class containing a constructor that takes a single argument of type ApexPages.StandardController or CustomControllerName, where CustomControllerName is the name of a custom controller you want to extend.
The extension is associated with the page using the extensions attribute of the <apex:page> component.
Because this extension works in conjunction with the Account standard controller, the standard controller methods are also available. For example, the value attribute in the <apex:inputField> tag retrieves the name of the account using standard controller functionality. Likewise, the <apex:commandButton> tag references the standard account save method with its action attribute.
Multiple controller extensions can be defined for a single page through a comma-separated list.
Thanks
-
This reply was modified 7 years, 6 months ago by
shariq.
-
This reply was modified 7 years, 6 months ago by
-
shariq
MemberSeptember 18, 2018 at 8:06 AM in reply to: Type of events in Salesforce Lightning component?Hi,
Event :
An event can be something the browser does, or something a user does.
Lightning framework uses event driven programming. Handlers are written for interface events and they handles the events as they fire. In Lightning framework events are triggered from client side JavaScript controller actions. The attributes in an event could be set before the event gets trigerred and read only when the event is handled.
In Lightning framework events are declared by the aura:event tag in a .evt resource. Events can be of two types :
Component Events:A component event can be triggered from an instance of a component and can be handled by the component that triggered it or by any other component in the hierarchy that recieve the event.
Application Events:An application event is fired by an instance of a component and all the components that provide handler for the event are notified.
Steps to communicate between two lightning components using events:
Create an event.
Create two lightning component : Child component and parent component.
Register the event in child component and fired the event in child component JavaScript controller action.
Handle the event in parent component.Thanks
-
shariq
MemberSeptember 18, 2018 at 8:03 AM in reply to: How can I access javascript function in lightning component?Hi,
You can use the namespace of c to javascript controller method. Below is a snippet of code of lightning component that is calling the callClient method of JS:
<aura:handler name=”init” value=”{!this}” action=”{!c.callClient}”/>
Thanks
-
shariq
MemberSeptember 18, 2018 at 7:45 AM in reply to: What is aura in Salesforce lightning experience ?Hi,
The Lightning Component framework is built on the open source Aura framework. The Aura framework enables you to build apps completely independent of your data in Salesforce.
The Aura framework is available at https://github.com/forcedotcom/aura. Note that the open source Aura framework has features and components that are not currently available in the Lightning Component framework. We are working to surface more of these features and components for Salesforce developers.The sample code in this guide uses out-of-the-box components from the Aura framework, such as aura:iteration and ui:button. The aura namespace contains components to simplify your app logic, and the ui namespace contains components for user interface elements like buttons and input fields. The force namespace contains components specific to Salesforce.
Thanks
-
shariq
MemberSeptember 18, 2018 at 7:43 AM in reply to: How does Salesforce Lightning framework support Inheritance?Hi,
Lightning framework also support component inheritance in same way as it is supported in Apex.
You can mark any component as extensible means component can be inherited by any component. Inheritance allows us use attributes and javaScript functions of extensible component in all inherited components.Thanks
