• Vignesh M 9
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am trying to refresh the primary tab from my lightning component in the lightning service console.
Tried these codes.
Not working.
Code:
var eventHandler = function eventHandler(result) {
            alert('Enclosing tab has refreshed:' + result.id
          + 'and the object Id is:' + result.objectId);
        };
            sforce.console.onEnclosingTabRefresh(eventHandler);

Please Help.

Hi There,

 

I have a visual force page which display multiple records with check box's.

I  need to allow the user to select only one check box at a time.If they are trying to select a another check box should display a alert saying that u r allowed to check only one record at a time.

 

I know it is possible with only javascript, can any  one post sample code for this .

 

or if any other suggestions please let me know .

 

Thank you,