Parul
IndividualForum Replies Created
-
Parul
MemberSeptember 20, 2018 at 12:29 am in reply to: How to create a wizard to show multiple pages using one Visualforce page without changing URL?Hi,
Use pageblocksection for multiple section.
-
Parul
MemberSeptember 20, 2018 at 12:27 am in reply to: How to insert Account from Inbound email Attachment having Thousands of record?Hi,
Also you have to go with some kind of integration tool (informatica, mulesoft) or scheduled data loaders (Command Line Interface of Data Loader) or import wizard.
-
Hello,
Refer the following code:
<apex:page standardController=”Contact” extensions=”TestPopup”>
<apex:form >
<apex:pageBlock >
<apex:commandButton value=”show popup” action=”{!showPopup}” rerender=”popup” status=”status”/><apex:outputPanel id=”popup”>
<apex:outputPanel id=”popInnerOutputPnl” styleClass=”customPopup” layout=”block” rendered=”{!displayPopUp}”>
<apex:commandButton value=”X” title=”Close the popup” action=”{!closePopup}” styleClass=”closeButton” rerender=”popup”>
</apex:commandButton>
<apex:pageblockSection ><apex:pageblockSectionItem >
<apex:outputLabel value=”Email” for=”address”></apex:outputLabel>
<apex:inputField id=”address” value=”{!Contact.Email}”/>
</apex:pageblockSectionItem>
</apex:pageblockSection>
<apex:commandButton value=”Ok” action=”{!redirectPopup}” styleClass=”closeButton” rerender=”popup”>
</apex:commandButton>
</apex:outputPanel>
</apex:outputPanel></apex:pageBlock>
</apex:form>
<style type=”text/css”>
.customPopup {
background-color: white;
border-style: solid;
border-width: 2px;
left: 20%;
padding: 10px;
position: absolute;
z-index: 9999;
/* These are the 3 css properties you will need to tweak so the pop
up displays in the center of the screen. First set the width. Then set
margin-left to negative half of what the width is. You can also add
the height property for a fixed size pop up.*/
width: 500px;
top: 20%;
}.disabledTextBox {
background-color: white;
border: 1px solid;
color: black;
cursor: default;
width: 90px;
display: table;
padding: 2px 1px;
text-align:right;
}.closeButton {
float: right;
}
</style>
</apex:page>public with sharing class TestPopup {
public Boolean displayPopup {get;set;}
public TestPopup(ApexPages.StandardController controller) {
}
public void showPopup()
{displayPopup = true;
}public void closePopup() {
displayPopup = false;}
public PageReference redirectPopup()
{
displayPopup = false;
//Please uncomment below 3 statements and replace YourObjectId
// PageReference p=new Pagereference(‘/’+YourObjectId);
// p.setRedirect(true);
// return p;}
}Hope this helps you.
-
Parul
MemberSeptember 20, 2018 at 12:22 am in reply to: Process Builder problem while referencing parent fieldHi,
Try using the "Formula evaluates to true" option to check for null.
-
Parul
MemberSeptember 20, 2018 at 12:20 am in reply to: How to debug the child values in parent to child query using for loop?Hello,
Could you let me know the error??
Thanks
-
Parul
MemberSeptember 20, 2018 at 12:19 am in reply to: How to enable Salesforce Wave functionality in dev org?Hi,
Step 1: As first steps you need to sign up for a WAVE development org.
Step 2: You can register for your very own WAVE developer Org here
Step 3: Now click on the link – https://startsurfingthewave.herokuapp.com/actions/enablement
Step 4: You’ll have to sign in into the developer org created in Step 1 and click Allow.
Step 5: Click on Go to My Org
Hurray.. Now you get the Salesforce Analytics Page on your own developer org – how cool is that
Step 6: Click on Enable Analytics
Step 7: On the Previous Page click on Verify Setup and Assign Permissions
Step 8: Once this setup is complete, you’ll see Analytics in the App picker. If you don’t refresh your page.
Step 9: Select Analytics.
The home page shows all assets: apps, dashboards, lenses, and datasets. When you enable Wave, you get the two default apps, with no datasets, lenses, or dashboards.
Hope this helps
-
Hi,
When you create a folder, you’re its manager. Only you and others with administrative permissions can see it.
If a folder does not have Manager access, it’s public, and users with the View Reports in Public Folders permission can view it. Depending on their object access, these users can also run the report.
You can share a report or dashboard folder with up to 25 users, groups, or roles at one time. You can share a folder with up to 100 users, groups, or roles using the folder sharing REST API.
-
Parul
MemberSeptember 20, 2018 at 12:15 am in reply to: Enabling AppExchange on Salesforce account.Hi,
Classic:
1. Click 'App menu' in the upper right corner of your screen.
2. Then click 'AppExchange' and you will be directed to another page.
3. Click 'login' then you will be automatically logged in using your Salesforce credentials.Lightning:
1. Click 'App Launcher',the nine dots in the upper left corner of your screen.
2. Then click 'Visit AppExchange' button. -
Hi,
It actually depends on the version of your API.
-
Parul
MemberSeptember 20, 2018 at 12:10 am in reply to: Want to merge two organisations with a third party applicationHi,
But what if the record types are also same??
-
Hi,
You can have this in two ways:
1.) By using function:
function CallFunctionToPopulateSectors(selectedSector,idOfSectorDatalist){
var html = '<span id='+selectedSector+'><input type=\"checkbox\" id='+selectedSector+' name="'+idOfSectorDatalist.id+'" value=\"'+selectedSector+'\" onchange=\"callFunctionToRemoveFromPortFolio(this.id,this.checked,this.value,this.name)\">'+selectedSector+'</span>';
j$("#divForRightSideSelectedSector").append(html) ;
var optionArr = j$(j$(j$("#divToUpdatePortFolio datalist"))[1]).find("option");
for(var i=0;i<optionArr.length;i++){
if(j$(j$(optionArr)[i]).text() == selectedSector){
console.log('j$(j$(optionArr)[i])'+j$(j$(optionArr)[i]));
j$(j$(optionArr)[i]).remove();
}
}
}2.) By running a script:
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js”></script>
<script>
var idCounter=1;
function checkboxClick(obj){
var id = $(obj).attr(“id”);
console.log(id);
if($(‘#’ + id).is(“:checked”)){
var str = $(‘#’ + id).closest(“tr”).text();
$(obj).closest(“tr”).remove();$(‘#allNames’).append(‘<option value=”‘+str+'”/>’);
}
}
$(document).ready(function() {
$(‘#name’).on(‘input’, function() {
var userText = $(this).val();
console.log(userText);
$(“#allNames”).find(“option”).each(function() {
if($(this).val() == userText) {
$(this).remove();
$(“#name”).val(null);
//$(userText).null();var b = $(‘#demo’).append(‘<tr><td><input type=”checkbox” onclick=”checkboxClick(this)” id=”ck_’+idCounter+'”/></td><td class=”newLine”>’+userText+'</td></tr>’);
idCounter++;
}
});
});
});
</script> -
Parul
MemberSeptember 20, 2018 at 12:06 am in reply to: Share with me an External Lookup field in Salesforce Example?Hi,
You can use external object to achieve your requirement. For have that set up, you need to set up the external data source in from one salesforce org to another salesforce org. Provide identity type as “Named Principal” and Authentication Protocol as “Password”. Give your username and password to set up external data source. After that set up external object and provide External Data Source – <select your data source that you have created>. All records of your external salesforce org would be available in second SF org under external object. This is just like the custom object in salesforce to use it.
-
Parul
MemberSeptember 20, 2018 at 12:05 am in reply to: Is it possible a multi-level relationship query on Chatter/Comments?Hi,
You can use this query:-
List<FeedItem> feedWithComments = [SELECT Id,Body,ParentId, (SELECT Id, CommentBody, FeedItemId FROM FeedComments)
FROM FeedItem
WHERE ParentId IN (SELECT Id FROM myObject WHERE Field = 'value')];
-
Parul
MemberSeptember 20, 2018 at 12:02 am in reply to: When developing a Chrome Extension, how to determine if it is running for the first time?function state() { console.log(“State transit”); }
var player = document.getElementById(“videoPlayer”);
player.addEventListener(“onStateChange”, “state”);
console.log(“Started!”); -
Parul
MemberSeptember 19, 2018 at 11:59 pm in reply to: How can we get the day value from a date value in Salesforce?Datetime dt = DateTime.newInstance(Date.today(), Time.newInstance(0, 0, 0, 0));
String dayOfWeek=dt.format('EEEE');
System.debug('Day : ' + dayOfWeek); -
Parul
MemberSeptember 19, 2018 at 11:58 pm in reply to: How can I create a page with detailed view in Visualforce page?By using <apex:detail > tag in your visualforce page.
-
Parul
MemberSeptember 19, 2018 at 11:55 pm in reply to: What is salesforce health cloud? How it is being used for healthcare segment?Hi,
Salesforce Health Cloud combines data from multiple sources—electronic medical records, medical devices, even wearables—into a single location. The idea? By having all the information in one place, health workers will have a more complete view of the patient and, in turn, be able to make smarter care decisions, intervene earlier if issues arise, and collect data along the way for effective treatments. The software also puts that information in the hands of the patient through mobile applications.
A common goal among recently introduced healthcare technologies is the improvement of the patient experience. For example, the industry is transitioning away from a pay-per-service model and toward holistic, outcomes-based reimbursements. Medical offices know that they need to provide more comprehensive care to stay relevant. A first step is collating all of a patient’s pertinent information, regardless of where the care took place.
That’s where Salesforce Health Cloud steps in. The company is working with leading software vendors and systems integrators to tie together existing medical IT systems and layer on Salesforce’s trademark customization.
Hope this helps you.
-
Parul
MemberSeptember 19, 2018 at 11:54 pm in reply to: How to import data of a object from one org to another without using data loader and integration?Hi,
-
Parul
MemberSeptember 19, 2018 at 11:52 pm in reply to: How to import data of a object from one org to another without using data loader and integration?Hi,
There are different connectors which are available. You can choose any of them according to your business need and budget. Some of the connectors are like Skyvia, cloudHQ, CRM connector and many more.
-
Hi,
You should look at using Batch Apex to accomplish your goals.
You cannot retrieve more than 50,000 records your SOQL calls in a single context.
However, with Batch Apex your logic will be processed in chunks of anywhere from 1 to 200 records in a batch.
You'd need to modify your business logic to take the batching into account if necessary.
-
Hi,
Because javascript doesn't have feature like namespaces, and you can mess up pretty easily with all sort of global objects.
So it is important to be able to isolate some code in its own execution environment. Closure are perfect for that.
Hope this helps
-
Parul
MemberSeptember 19, 2018 at 11:46 pm in reply to: Getting Error when using map in Dynamic query:- System.QueryException: unexpected token: '(' in the SOQL queryHi,
You must add map.keySet() either in a set or in list after that you can use it in your Dynamic query.
set<id> idSet=new set<id>();
idSet = maps.keySet();
String s = ‘Select Id, name from Contact where Id IN :idSet ’ ;
-
Parul
MemberSeptember 19, 2018 at 11:43 pm in reply to: Is it possible to use external storage to store Attachments in Salesforce?Hi,
You can use netdocs. which should be integrated with your org and you can able to connect as many systems you want.
-
Parul
MemberSeptember 19, 2018 at 11:42 pm in reply to: What are the Available formats for report in Salesforce?Hi,
Tabular
Tabular reports are the simplest and fastest way to look at data. Similar to a spreadsheet, they consist simply of an ordered set of fields in columns, with each matching record listed in a row. Tabular reports are best for creating lists of records or a list with a single grand total. They can't be used to create groups of data or charts, and can't be used in dashboards unless rows are limited. Examples include contact mailing lists and activity reports.Summary
Summary reports are similar to tabular reports, but also allow users to group rows of data, view subtotals, and create charts. They can be used as the source report for dashboard components. Use this type for a report to show subtotals based on the value of a particular field or when you want to create a hierarchical list, such as all opportunities for your team, subtotaled by Stage andOwner. Summary reports with no groupings show as tabular reports on the report run page.Matrix
Matrix reports are similar to summary reports but allow you to group and summarize data by both rows and columns. They can be used as the source report for dashboard components. Use this type for comparing related totals, especially if you have large amounts of data to summarize and you need to compare values in several different fields, or you want to look at data by date and by product, person, or geography. Matrix reports without at least one row and one column grouping show as summary reports on the report run page.Joined
Joined reports let you create multiple report blocks that provide different views of your data. Each block acts like a “sub-report,” with its own fields, columns, sorting, and filtering. A joined report can even contain data from different report types.Hope this helps.
-
Parul
MemberSeptember 19, 2018 at 11:38 pm in reply to: Make Document accessible outside salesforce.Hi,
I have used Document image inside salesforce which showed image in sf platform and I sent the email preview to my mailId, and I can see image there.
Just follow these steps:-
1). Upload image in Document folder.
2). Tick mark the checkbox stating "externally available"
3). Save the image.
4). After page will refresh, you will see the image preview inside document header with image's label. Right click on image and copy the address.
5). Now your image url looks like this :-
https://c.<instance>.content.force.com/servlet/servlet.ImageServer?id=<document_id>&oid=<organization_id>
6). Now you can use this url anywhere. It will be displayed inside sf platform and outside as well.Hope it answered your query!