Himanshu Jasuja
IndividualForum Replies Created
-
Hi Ravi,
From Setup, enter Users in the Quick Find box, then select Users.
Click Edit next to the user's name or click New to create a user.
If you are creating a user, complete all the required fields.
Select the Knowledge User checkbox.
Click Save.Hope this helps you.
-
Hi Piyush,
You need to use force:navigateToSObject(documentation) for lightning.
-
Hi Piyush,
Visualforce Remote Objects are proxy objects that enable basic DML operations on sObjects directly from JavaScript. Remote Objects remove some of the complexity from JavaScript remoting by reducing the need for @RemoteAction methods in an Apex controller or extension.
-
Himanshu
MemberMay 31, 2016 at 9:56 am in reply to: Creating a pdf page and want to display row number in first columnHi Ajay,
If you put the counter inside a column, it will work:
<apex:page controller="counter">
<apex:variable value="{!0}" var="index" />
<apex:pageBlock>
<apex:pageBlockTable value="{!elements}" var="element">
<apex:column>
<apex:outputText>
<apex:variable value="{!index + 1}" var="index" />
{!index}
</apex:outputText>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page> -
Himanshu
MemberMay 30, 2016 at 11:16 am in reply to: How do I add TH Badges I have earned to my LinkedIn Profile?Hi Naman,
Unfortunalty you cannot add all TH badges at one shot you have to do it one by one. There are 2 ways
1.When a module is completed you can add it to linkedin profile by add LinkedIn to profile button.
2. If you alreay have a badge which you want to add to linkedIn profile. -
Hi Nitish,
Try to remove the word Specification__c. You have declared your variable name twice.
Hope this helps you.
-
Hi Nitish,
You would need to store the second reference string in a separate field. Attempting to update a lookup field with anything other than a valid record ID (or null) will result in an error being thrown, and any changes to the record will not be committed
-
Himanshu
MemberMay 27, 2016 at 12:26 pm in reply to: What is the Salesforce sObject for a private message?Hi Ravi,
You need to enable the Manage Chatter Messages system permission on a cloned System Administrator profile before you have access to these sObjects.The ChatterMessage and ChatterConversation objects is what you are looking for.
for instance:
SELECT Body, ConversationId, Id, SenderId, SentDate FROM ChatterMessage
-
Himanshu
MemberMay 27, 2016 at 12:24 pm in reply to: Is it possible to aggregate data from contacts to accounts?Hi Ravi,
All standard activities do roll up from the Contact to the Account.
For custom objects you can create a hidden Account look up on the custom object and workflow the account the contact is associated to. This will create the related list on the Account and you will be able to see all of the contact related list information.
-
Himanshu
MemberMay 27, 2016 at 12:23 pm in reply to: Is there a way to iterate through a list of objects on a single page and maintain inline editing?Hi Suyash,
The standard inline editing feature is not available in Visualforce.
-
Himanshu
MemberMay 27, 2016 at 12:19 pm in reply to: How to query the content workspace id in apex?Hi Ravi,
You can use this query
Query:- SELECT Id, Name FROM ContentWorkspace
-
Himanshu
MemberMay 27, 2016 at 12:17 pm in reply to: Can I get my security token in Salesforce without having to reset it?Hi Ravi,
No, you can't get the security token without having to reset it.
-
Himanshu
MemberMay 27, 2016 at 12:12 pm in reply to: Can you use the LIKE operator in SOQL queries via the REST API?Yes, you can use the like operator in REST API.
-
Himanshu
MemberMay 27, 2016 at 11:57 am in reply to: Change case status only though Visualforce pageHi Nitish,
Try this code:-
public class CaseControl {
public static Boolean allowReopen = false;public static void verifyReopen(Case[] prior, Case[] current) {
if(!allowReopen) {
for(Integer index = 0, size = current.size(); index < size; index++) {
if(prior[index].Status == 'Closed' &&
current[index].Status <> 'Closed') {
current[index].addError('Please use the Visualforce page to reopen this case.');
}
}
}
}
}Trigger:-
trigger verifyReopen on Case (after update) {
CaseControl.verifyReopen(Trigger.old, Trigger.new);
}Case Reopen:-
public PageReference reopenAndSave() {
CaseControl.allowReopen = true;
caseRecord.Status = 'Reopened';
update caseRecord;
return new ApexPages.StandardController(caseRecord).view();
} -
-
Himanshu
MemberMay 27, 2016 at 11:50 am in reply to: Visualforce redirect issue on forgot password linkHi Piyush,
Pagereference pg = new Pagereference ('/apex/yourpagename');
Hope this helps you.
-
Himanshu
MemberMay 27, 2016 at 11:45 am in reply to: ORs and ANDs in the retrieve function of Visualforce Remote ObjectsHi Piyush,
Try this code:-
where: {
or: {
BillingState: { eq: 'Hawaii' },
or: {
BillingState: { eq: 'Alaska' },
or: {...},
},
},
Name: { like: '% Assoc%' }
} -
Himanshu
MemberMay 25, 2016 at 3:12 pm in reply to: What channels can be used to reach customers with Marketing Cloud?Hi Suyash,
Marketing Cloud is designed to create and deliver content on channels mandated by the customer and the situation. It provides a single location for all cross-channel content, enabling brands to speak with one voice and deliver a consistent experience. Whether the right channel at a specific moment is email, mobile, social, ads, in-app, or the web, today’s digital business leaders have a ready-made conduit to engage across marketing, sales, and service.
-
Hi Ravi,
You can't use the remote sites list is not currently exposed in Apex.
-
Himanshu
MemberMay 25, 2016 at 3:03 pm in reply to: How does Marketing Cloud differ from traditional marketing automation tactics?Hi Suyash,
Many organizations are not delivering data-driven interactions and experiences to their customers. Instead, these organizations communicate and interact with their customers through a series of disconnected, independent campaigns and messages — often across many organizational functions that are not coordinated, data driven, or entirely purposeful.
-
Himanshu
MemberMay 25, 2016 at 8:56 am in reply to: is there any way through which we can upsert list of list of accounts?Hi Naman,
You can use this to upsert the list of accounts.
List<Account> acc = new List<Account>();
for (List<Account> aList : listOfLists)
acc.addAll(aList);
upsert acc;Hope this helps you.
-
Himanshu
MemberMay 25, 2016 at 8:52 am in reply to: How to restrict the user to login after a bound time period in salesforce?Hi Naman,
To restrict the user after some specifies time to login in salesforce you should mention the time in Login Hours.
Go to Setup, enter Profiles in the Quick Find box, then select Profiles.
Select the profile of user that you want to restrict.
In the profile page,Click the Login Hours Button and mention the time and day when you want the user not able to log in salesforce Org. -
Himanshu
MemberMay 25, 2016 at 8:38 am in reply to: How to get the picklist value in formula fields?Hi Naman,
You can use this:- TEXT( field name) in formula.
-
Himanshu
MemberMay 24, 2016 at 10:26 am in reply to: Difference between System CurrentPageReference and ApexPages CurrentPage?Hi Piyush,
There is no difference between System.currentPageReference() and ApexPages.currentPage()
Both return a reference to the current page.
-
Himanshu
MemberMay 24, 2016 at 10:21 am in reply to: What is the difference between the Enterprise WSDL and the Partner WSDL?Enterprise Wsdl Primarily Wsdl
1.It is strongly typed wsdl 1.It is loosly typed wsdl
2. It is bound to a specific configuration of Salesforce 2. used to reflect against any configuration of Salesforce.
- This reply was modified 8 years, 7 months ago by Himanshu.