Avnish Yadav
IndividualForum Replies Created
-
Hello
Trend Reports are the ideal report for you if you need data for a hotel development project or if you are buying or repositioning a property. Run on a one time basis, Trend Reports display monthly performance data including occupancy, ADR, RevPAR, supply, demand and revenue.
Trend reports in salesforce are those which displays historical data. Trend reports are used to analyse which fields contains data that we want to leave out.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:54 pm in reply to: What are Custom Report Types in Salesforce?Hello,
Custom Salesforce Reports
The custom report type can be created by selecting the objects of your interest and their relationships. The wizard will give access to all child objects of these selected objects. This type of report can be customized as per user need.Thanks
-
Hello,
The user who have permission to "run report" permission can run the report.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:34 pm in reply to: What happens to detail record when master record is deleted in Salesforce?Hello,
1) In case of Master-Detail Relationship, if you delete Master Record, all corresponding Child Records get deleted.
2) In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.Thanks,
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:26 pm in reply to: Can we create field in custom object containing some records with master detail relationship in Salesforce?Hello,
You need to create the lookup, then populate each one so that each child record has a parent record. This is because a master-detail relationship does not allow for ‘orphaned’ child records. Once you have a lookup with each child having a parent, then you can go back and convert the lookup field to a master-detail.
But Remember,
Maximum number of Master-Detail relationships on a Custom Object is: 2
Maximum number of Lookup relationships on a Custom Object is: 25
Maximum number of Lookup relationships on a Standard Object is: 25Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:17 pm in reply to: What Are The Different Dashboard Components in Salesforce?Hello,
Dashboard components can be charts, tables, gauges, metrics, or other components that you can create with VisualForce. Also, There are a few different ways that you can summarize data with Salesforce charts. Depending on the type of data you have there are a few different charts you can use:
Vertical and Horizontal Bar Chart (Use horizontal bar chart to compare more groups than vertical)
Line Chart (best for showing data over time)
Pie / Donut Chart (Both are used to compare a group of data to the total. Donut Charts show the total in the middle)
Funnel Chart (best for sales opportunities)
Scatter Chart (Helps to visualize the correlation between values on a report)Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:04 pm in reply to: How to access profile permissions via Salesforce API?Hello,
To view permissions and their descriptions, from Setup, enter Permission Sets in the Quick Find box, then select Permission Sets, then select or create a permission set. Then from the Permission Set Overview page, click App Permissions or System Permissions.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:02 pm in reply to: How to Dynamically adjust the UI of the Salesforce Visualforce Page?Hello,
VF Pages embedded in a Page Layout come over as iframes, so the solution is to write a VF Page using only <apex:detail .../> to bring over the Page Layout and then have JavaScript (via jQuery) resize all the iframes.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 9:01 pm in reply to: How can show active Parent records on lookup in Salesforce?Hello,
You have to use Lookup filter.
Thanks.
-
Hello,
Lightning includes the Lightning Component Framework and some exciting tools for developers. Lightning makes it easier to build responsive applications for any device.
Lightning includes these technologies:Lightning components give you a client-server framework that accelerates development, as well as app performance, and is ideal for use with the Salesforce mobile app and Salesforce Lightning Experience.
1. The Lightning App Builder empowers you to build apps visually, without code, quicker than ever before using off-the-shelf and custom-built Lightning components. You can make your Lightning components available in the Lightning App
2. Builder so administrators can build custom user interfaces without code.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:55 pm in reply to: How to use one SOQL query for both before and after trigger on the same object in Salesforce?Hello,
use static variables for this.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:54 pm in reply to: What are responsive email templates in Salesforce?Hello.
According to guide-
Responsive templates use CSS to resize your emails when viewed on mobile devices. Pardot includes several responsive layouts that you can use to create mobile-friendly email layout templates.
You can select a responsive layout when building an email template. If you’re an advanced user, you can add responsive CSS to your own layout templates using media queries. When testing an email with a responsive template, preview it by clicking Open in Popup and then manually resizing the window.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:52 pm in reply to: How to determine whether to use After or before in Salesforce trigger?Hello,
Before Trigger: In case of validation check in the same object
After Trigger: Insert/Update related object, not the same object
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:49 pm in reply to: What is the difference between public cloud & private cloud in salesforce? Is salesforce.com a public cloud or private cloud?Hello,
Private Cloud
A private cloud hosting solution, also known as an internal or enterprise cloud, resides on company’s intranet or hosted data center where all of your data is protected behind a firewall. This can be a great option for companies who already have expensive data centers because they can use their current infrastructure. However, the main drawback people see with a private cloud is that all management, maintenance and updating of data centers is the responsibility of the company. Over time, it’s expected that your servers will need to be replaced, which can get very expensive. On the other hand, private clouds offer an increased level of security and they share very few, if any, resources with other organizations.Public Cloud
The main differentiator between public and private clouds is that you aren’t responsible for any of the management of a public cloud hosting solution. Your data is stored in the provider’s data center and the provider is responsible for the management and maintenance of the data center. This type of cloud environment is appealing to many companies because it reduces lead times in testing and deploying new products. However, the drawback is that many companies feel security could be lacking with a public cloud. Even though you don’t control the security of a public cloud, all of your data remains separate from others and security breaches of public clouds are rare.Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:47 pm in reply to: What are Login Hours and Login IP Ranges in Salesforce?Hello,
You can use this for restricting the hours during which users can log in and the range of IP addresses from which they can log in and access Salesforce. If IP address restrictions are defined for a user's profile and a login originates from an unknown IP address, Salesforce does not allow the login.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:44 pm in reply to: How to integerate Zultys with Salesforce?Hello,
This video explains clearly that how you can integrate Zultys with Salesforce.
Here is the link - https://www.youtube.com/watch?v=Sc9R89T_2a4
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:32 pm in reply to: What are Standard Reports in Salesforce?Hello,
Standard Salesforce Reports
A report represents the relationship between primary objects and its related objects. To represent this relationship report has predefined templates which makes reporting easier. Every report displays only those records which meet the criteria.Salesforce has Standard report type as default report type. Standard report type is present for all salesforce standard objects. For custom objects, Salesforce automatically creates a standard report type using “with”, or “and” relationship.
And These type of reports can not be deleted and used primarily for creating custom reports.
Thanks
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:31 pm in reply to: How to integrate Instagram with Salesforce?This is integration is not working.
-
Cursors, as I understand, are the equivalent of query result sets. A similar concept exists in SQL if you're familiar with it.
So I'd say a cursor is a reference to the result set for a soql query.
I had a support case with Salesforce a while ago about cursors exceeded in a batch apex query. Apparently even inner queries will account for their own cursor set
So
Select Id, name, (select Id, name from contacts) from accountWill account for 2 open cursors.
The way out was to simplify the SOQL queries and break what we were trying to achieve in one batch apex class over 2 classes.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:29 pm in reply to: How can I know the Day of the Week of a Date in Salesforce?Try this:
CASE( MOD( Date__c - DATE(1900, 1, 7), 7), 0, "Sunday", 1, "Monday", 2, "Tuesday", 3,
"Wednesday", 4, "Thursday", 5, "Friday", 6, "Saturday","Error") -
Avnish Yadav
MemberSeptember 29, 2018 at 8:28 pm in reply to: How to upload multiple attachments from Salesforce apex? please provide me some sample codeHello,
ContentDocument object does not allow insert DML operation in Salesforce, so we can upload it through the ContentVersion object, without ContentDocumentId. After DML on ContentVersion a new version of ContentDocument will be created for us in salesforce.The easiest way to do this is using inputFile and assign it to ContentVersion instance. Like this:
<apex:page controller="ContentController">
<apex:form>
<apex:inputfile value="{!file}"></apex:inputfile>
<apex:commandbutton action="{!upload}" value="Upload"></apex:commandbutton>
</apex:form>
</apex:page>Class:
public class ContentController {
public blob file { get; set; }`public PageReference upload() {
ContentVersion v = new ContentVersion();
v.versionData = file;
v.title = 'testing upload';
v.pathOnClient ='/somepath.txt';
insert v;
return new PageReference('/' + v.id);
}
}If you want to share the ContentVersion file then after insert DML query the ContentDocumentId from inserted ContentVersion and use ContentDocumentLink to create association between Record and ContentVersion uploaded file.
Thanks. -
Avnish Yadav
MemberSeptember 29, 2018 at 8:21 pm in reply to: Get Meta Data specific to Application in SalesforceHello,
You can use different tools like Eclipse Force.com IDE or ANT Migration Tool.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:19 pm in reply to: Can I make Callout from Batch Classes? Is there is any number of limit in Salesforce?Hi Suraj
Yes you can make from Batch Classes.
Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:15 pm in reply to: Explain Standard and Custom Reports in SalesforceHello,
Standard Salesforce Reports
A report represents the relationship between primary objects and its related objects. To represent this relationship report has predefined templates which makes reporting easier. Every report displays only those records which meet the criteria.Salesforce has Standard report type as default report type. Standard report type is present for all salesforce standard objects. For custom objects, Salesforce automatically creates a standard report type using “with”, or “and” relationship.
Custom Salesforce Reports
The custom report type can be created by selecting the objects of your interest and their relationships. The wizard will give access to all child objects of these selected objects. This type of report can be customized as per user need.Thanks.
-
Avnish Yadav
MemberSeptember 29, 2018 at 8:06 pm in reply to: What are Junction Objects in Salesforce?Hello,
junction object is a custom object with two master-detail relationships and is the key to making a many-to-many relationship.
Thanks.