• Nils11
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 1
    Replies

Hi,
I have to implement bulk assignment and inline editing in list view of case in lightning experience. (This feature is not available in lightning , however it is available for classic)
Can someone please explain is it possible to implement using lightning components ?

what would be the flow (list of components ) needs to be created to achive this ?

  • September 07, 2017
  • Like
  • 1

Hi,

I have 4 record types, once lead created of "ABC" record type values should not be able to updated of ABC record type.

Any pointers on this ?

Hi,

I have made changes in the setting of  Profiles ->Object Settings -> Object -> Record Types and Page Layout Assignments

In order to do migration using ANT which all components need to migrate ? or if i migrate only profiles will work ?
From custom button available on detail page I have to update lead record type, owner id. After changing these have to open detail page in edit mode.

We can not use process builder because page can not be opened in edit mode.

How this can be done using visualforce page.

What would be the contents of visualforce page and apex class ?
var LeadToUpdate = new sforce.SObject("Lead"); 
LeadToUpdate.Id = "{!Lead.Id}"; 
LeadToUpdate.OwnerId = '{!$User.Id}'; 
sforce.connection.update([LeadToUpdate]);

I am using this code but owner not changing
I have to update the lead's record type and owner name and assign new record type and current user and owner using javascript code.

I have written below code code on button but its not working.

var LeadToUpdate = new sforce.SObject("Lead"); 
if (LeadToUpdate.RecordTypeId=="012V0000000werfdgt") { 
LeadToUpdate.Id = "{!Lead.Id}"; 
LeadToUpdate.RecordTypeId = "01220000000aser"; 
LeadToUpdate.ownerId = "{!$User.Id}"; 
sforce.connection.update([LeadToUpdate]); 
window.location.href='/{!Lead.Id}/e?012120000012cZt'; 
}

Hi,
I have to implement bulk assignment and inline editing in list view of case in lightning experience. (This feature is not available in lightning , however it is available for classic)
Can someone please explain is it possible to implement using lightning components ?

what would be the flow (list of components ) needs to be created to achive this ?

  • September 07, 2017
  • Like
  • 1
I have to update the lead's record type and owner name and assign new record type and current user and owner using javascript code.

I have written below code code on button but its not working.

var LeadToUpdate = new sforce.SObject("Lead"); 
if (LeadToUpdate.RecordTypeId=="012V0000000werfdgt") { 
LeadToUpdate.Id = "{!Lead.Id}"; 
LeadToUpdate.RecordTypeId = "01220000000aser"; 
LeadToUpdate.ownerId = "{!$User.Id}"; 
sforce.connection.update([LeadToUpdate]); 
window.location.href='/{!Lead.Id}/e?012120000012cZt'; 
}