• Satya Prakash 11
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 1
    Replies
Hello All-

I am trying to have console app work in both SFDC Classic and Lightning. I'm trying to close a sub tab via some JavaScript code. With Classic Console I did the following:

sforce.console.closeTab(id, callback);


The above method written in JS is invoked from apex:commandbutton with oncomplete attribute.

As per the documentation provided in Console Developer guide, closeTab() and getEnclosingTabId() methods are supported in both Classic and Lightning and no additional considerations are required to make the methods work in Lightning (https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_classic_bridge_methods.htm (https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_classic_bridge_methods.htm" style="color:#0563c1; text-decoration:underline)). But I see that the closeTab() functionality is not working as expected when accessed in Lightning experience.


I see there are some equivalent method which are supported only in Lightning Console here: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_closeTab.htm (https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_closeTab.htm" style="color:#0563c1; text-decoration:underline)

But this is called from within a Lightning component. How can I do that from a VisualForce page?

 
Hi All,

Can anyone let me know how to sign up for getting Radian6 login crednetials which is Social Media tool that can be integrated with Salesforce. I do not see any Sign Up option for logging into Radian6 using https://login.radian6.com

Thanks in Advance!

Satya Prakash
Hi Folks,

I am trying to create a new Developer Sandbox. When I went to Sandbox section, below are the licences that are available for me.

Developer-- 0 available (1 in use)
Developer Pro -- 1 Available (0 in use)

When I tried to create new Sandbox by clicking on the "Create" button under "Developer" license it automatically took the license of "Developer Pro" and created new Sandbox. And then the Developer Pro license became 0 Available.

Could any one let me know why it has automatically taken "Developer Pro" license eventhogh you clicked "Create" button under "Developer" license.

I guess instead of allowing us to create new Sandbox when there are no licences available it will be better if there is any error displayed.

Thanks,
Hello All,
Can anyone tell me how to update a list which contains Duplicate values. As we know that list can hold duplicate values but will not update if it contains duplicate values.
I tried to convert the list to Set or Map to hold unique values but the problem is we cannot perform DML operation on Set ot Map.

Any help is highly appreciated!
Can any one let me know how to insert bulk records using Apex coding. Here is the requirement.

I need to insert 10 Account records and for each Account record need to associate 2 Contacts and 2 Opportunities. Please let me know the code to be executed from Developer Console.

At last we should have 10 Account records, 20 Contacts and 20 Opportunities.

Hello,

 

Let say i have one visual force page with Constructor, Getter and Setter methods, What is the order of execution of these methods, it is an interview question which i faced..

 

Regards,

Sujan