function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LoïkLoïk 

S-Control : $Action.Activity.LogCall <> No Relation with Contact ..

Hi Everybody, 

 

We Use Sharing Tasks, and want create a custom button. For this, we use this code :

 

{!URLFOR( $Action.Activity.LogCall , null, [ 
"tsk2_lkid" = Object__c.Contact_ObjectId__c , 
"tsk2" = Object__c.Contact_Object__c , 
"tsk3_lkid" = Object__c.Id , 
"tsk3" = Object__c.Name , 
"tsk5" = Object__c.Compte__c &"-" , 
"tsk6" = "JJ"&Object__c.JJ__c&"-"&Object__c.Grille__c&"-" , 
"retURL" = "/"& Object__c.Id 
])}

 

 

He works very well, but we have one problem : any relation in contact id !

If we use an another code (with Action.Activity.NewEvent) he work.

 

Can you help us ?

 

Thanks a lot.

Loïk.

LoïkLoïk

Hi Everybody, 

 

I finally was able to get it to work. 

I had to set

 

who_id=contact.id

 

"who_id" = Object__c.Contact_ObjectId__c , 
"who.name" = Object__c.Contact_Object__c , ....