-
ChatterFeed
-
0Best Answers
-
2Likes Received
-
0Likes Given
-
8Questions
-
20Replies
Tooltip for a Custom Button in a Standard SF Page
I added a custom list button say "Custom Message Button" to a custom object. This button displays a simple alert message.
This being a list button it gets displayed in the related list section when viewing another related object.
This button displays in its tooltip "Custom Message Button". I want to change this while retaining the label for the button. Basically I only want to change the tooltip information.
Is it possible ? I do not want to create a new VF page just to view a different tooltip !
I want to continue to use the default SF page for the object which displays the related list.
Thanks
- Vidya Bhandary
- August 19, 2014
- Like
- 1
- Continue reading or reply
Migrate master data from one org to another
I read that I can use Migration tool to move metadata from one org to another.
I want to move some basic master data required for my application.
How can I do this ?
The objects have master-detail and lookup dependencies between them and hence I am not sure of using the data export functions.
Can I use an apex method instead ?
Thank you
- Vidya Bhandary
- July 18, 2014
- Like
- 0
- Continue reading or reply
Parent SOQL query - return non null child objects
https://developer.salesforce.com/forums/?id=906F00000008lxBIAQ .
I have been breaking my head over it ... hope someone else can help with this.
The query -
Select
(Select Id, FieldA, FieldB, FieldC From Child__r where FieldA IN
('Value1', 'Value2','Value3') ) ,
o.Parent_Date_Time__c From Parent__c o
where o.Id IN (Select Parent__c from Child__c where Parent__c != '') AND
o.LastModifiedDate >= 2013-05-01T23:59:59Z AND
o.Parent_Date_Time__c = LAST_N_DAYS: 15
- Vidya Bhandary
- May 23, 2014
- Like
- 0
- Continue reading or reply
No login via web
I have created a set of community users and I have them login only via the app I have created.
They should not be able to access the salesforce web link and log in with their credentials.
How can this be done ? Any ideas ?
- Vidya Bhandary
- May 02, 2014
- Like
- 0
- Continue reading or reply
setCompressed problem when calling REST API - To reduce size of response
1. Currently I am using a VF page to call the REST service but when I try to use setCompressed(true) - I get the following message
message":"Unexpected EOF encountered while initializing GZIP stream","errorCode":"UNKNOWN_EXCEPTION
2. I tried to use the deflate option but the response comes as junk chars. I thought the getBody() method was supposed to decode this ?
[ Accept-Encoding as deflate ]
3. Regardless of whether I use gzip or not - the response size is the same. So that clearly this compression is not working.
[ Accept-Encoding as gzip ]
4. I tried to use POST as mentioned in one forum discussion but that gave me an error saying only "GET" and "HEADER" requests were supported.
Any ideas on why compression is not working ? Does salesforce support this feature or not ?
- Vidya Bhandary
- February 06, 2014
- Like
- 0
- Continue reading or reply
Multiple resultset into one JSON
I want to get the results of both the resultsets into one JSON object which will be automatically parsed due to the REST call.
Is this possible ?
I tried to put both resultsets into a single <sObject> list but it gave me an error saying two different types of objects were being added into a single list.
- Vidya Bhandary
- January 31, 2014
- Like
- 0
- Continue reading or reply
SOQL __r -> not displaying data although adding a temp field in the object displays that data !
When I give a query like this ... I get a response but the last field with 2 relationships does not display anything - only [object Object] [ Am currently just trying in the Developer Console to get my query right ]
Select SA__c.Id, SA__c.Name,
SA__c.SQ__r.Name__c,
SA__c.SQ__r.S__r.Name__c
from SA__c where
SA__c.SQ__r.S__c = 'a0Hi0000009S5jcEAC'
So I checked adding a field like this in the SA object and it gets displayed just fine !!!!
- Vidya Bhandary
- January 22, 2014
- Like
- 1
- Continue reading or reply
change contact class name
Can the class name for "Contact" be changed in salesforce ? I want to extend the object definition for Contact with some custom fields ( instead of creating a custom object ) and then call Contact from Apex code.
- Vidya Bhandary
- January 13, 2014
- Like
- 0
- Continue reading or reply
Tooltip for a Custom Button in a Standard SF Page
I added a custom list button say "Custom Message Button" to a custom object. This button displays a simple alert message.
This being a list button it gets displayed in the related list section when viewing another related object.
This button displays in its tooltip "Custom Message Button". I want to change this while retaining the label for the button. Basically I only want to change the tooltip information.
Is it possible ? I do not want to create a new VF page just to view a different tooltip !
I want to continue to use the default SF page for the object which displays the related list.
Thanks
- Vidya Bhandary
- August 19, 2014
- Like
- 1
- Continue reading or reply
SOQL __r -> not displaying data although adding a temp field in the object displays that data !
When I give a query like this ... I get a response but the last field with 2 relationships does not display anything - only [object Object] [ Am currently just trying in the Developer Console to get my query right ]
Select SA__c.Id, SA__c.Name,
SA__c.SQ__r.Name__c,
SA__c.SQ__r.S__r.Name__c
from SA__c where
SA__c.SQ__r.S__c = 'a0Hi0000009S5jcEAC'
So I checked adding a field like this in the SA object and it gets displayed just fine !!!!
- Vidya Bhandary
- January 22, 2014
- Like
- 1
- Continue reading or reply
Tooltip for a Custom Button in a Standard SF Page
I added a custom list button say "Custom Message Button" to a custom object. This button displays a simple alert message.
This being a list button it gets displayed in the related list section when viewing another related object.
This button displays in its tooltip "Custom Message Button". I want to change this while retaining the label for the button. Basically I only want to change the tooltip information.
Is it possible ? I do not want to create a new VF page just to view a different tooltip !
I want to continue to use the default SF page for the object which displays the related list.
Thanks
- Vidya Bhandary
- August 19, 2014
- Like
- 1
- Continue reading or reply
Migrate master data from one org to another
I read that I can use Migration tool to move metadata from one org to another.
I want to move some basic master data required for my application.
How can I do this ?
The objects have master-detail and lookup dependencies between them and hence I am not sure of using the data export functions.
Can I use an apex method instead ?
Thank you
- Vidya Bhandary
- July 18, 2014
- Like
- 0
- Continue reading or reply
Parent SOQL query - return non null child objects
https://developer.salesforce.com/forums/?id=906F00000008lxBIAQ .
I have been breaking my head over it ... hope someone else can help with this.
The query -
Select
(Select Id, FieldA, FieldB, FieldC From Child__r where FieldA IN
('Value1', 'Value2','Value3') ) ,
o.Parent_Date_Time__c From Parent__c o
where o.Id IN (Select Parent__c from Child__c where Parent__c != '') AND
o.LastModifiedDate >= 2013-05-01T23:59:59Z AND
o.Parent_Date_Time__c = LAST_N_DAYS: 15
- Vidya Bhandary
- May 23, 2014
- Like
- 0
- Continue reading or reply
No login via web
I have created a set of community users and I have them login only via the app I have created.
They should not be able to access the salesforce web link and log in with their credentials.
How can this be done ? Any ideas ?
- Vidya Bhandary
- May 02, 2014
- Like
- 0
- Continue reading or reply
setCompressed problem when calling REST API - To reduce size of response
1. Currently I am using a VF page to call the REST service but when I try to use setCompressed(true) - I get the following message
message":"Unexpected EOF encountered while initializing GZIP stream","errorCode":"UNKNOWN_EXCEPTION
2. I tried to use the deflate option but the response comes as junk chars. I thought the getBody() method was supposed to decode this ?
[ Accept-Encoding as deflate ]
3. Regardless of whether I use gzip or not - the response size is the same. So that clearly this compression is not working.
[ Accept-Encoding as gzip ]
4. I tried to use POST as mentioned in one forum discussion but that gave me an error saying only "GET" and "HEADER" requests were supported.
Any ideas on why compression is not working ? Does salesforce support this feature or not ?
- Vidya Bhandary
- February 06, 2014
- Like
- 0
- Continue reading or reply
Multiple resultset into one JSON
I want to get the results of both the resultsets into one JSON object which will be automatically parsed due to the REST call.
Is this possible ?
I tried to put both resultsets into a single <sObject> list but it gave me an error saying two different types of objects were being added into a single list.
- Vidya Bhandary
- January 31, 2014
- Like
- 0
- Continue reading or reply
SOQL __r -> not displaying data although adding a temp field in the object displays that data !
When I give a query like this ... I get a response but the last field with 2 relationships does not display anything - only [object Object] [ Am currently just trying in the Developer Console to get my query right ]
Select SA__c.Id, SA__c.Name,
SA__c.SQ__r.Name__c,
SA__c.SQ__r.S__r.Name__c
from SA__c where
SA__c.SQ__r.S__c = 'a0Hi0000009S5jcEAC'
So I checked adding a field like this in the SA object and it gets displayed just fine !!!!
- Vidya Bhandary
- January 22, 2014
- Like
- 1
- Continue reading or reply
Nested SOQL Queries (more than 1 level Parent-to-child queries)
Hi, Folks!
Does anybody know how to make more than 1 level nested Parent-to-Child query?
As I know there is a standard limitations for parent-to-child queries: "In each specified relationship, only one level of parent-to-child relationship can be specified in a query."
Sure I can provide some additional classes to solve the problem, but maybe somebody knows another way?
(kind of how to make additional request for query resulds:
companiesList.addAll([
Select Name, c.Conference__r.Id, c.Conference__c, c.Comapny_Contact__r.FirstName,
(Select Name From PC_Track__r)
From cmp_Participating_Company__c c
Where c.Conference__r.Id = 'a00A0000000q5nK'
]);
for (cmp_Participating_Company__c company : companiesList)
{
for (cmp_Meeting_Track__c track : company.PC_Track__r)
{
track.Meeting_Track__r = [Select Name From cmp_Meeting__c];
}
}
)
- yuroker
- September 06, 2009
- Like
- 0
- Continue reading or reply