We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Notes On Task Object on Customer Portal

Received Response
35
Views
17
Comments
edited Jan 22, 2016 7:55PM in Customer Portal 17 comments

Content

Dear Experts,

I created the new task from customer portal means fill the task form CP & after submit task should save into Agent desktop against task object. I face issue to save Notes field. Also i tried connect php api static code but it's not working. Can anybody please help me. Below is the static connect php api code. 

 

Code Snippet

             $new_task=new RNCPHP\Task();
		 //$new_task->Comment= "New task";
		 //$new_task->DueTime=mktime(0,0,0,14,11,2012);
		// $new_task->Contact = RNCPHP\Contact::fetch(10);
		 //$new_task->Name="AusTask";
		 //$new_task->PercentComplete=90;
		 //$new_task->AssignedToAccount = RNCPHP\Account::fetch(4);
		// $new_task->TaskType=new RNCPHP\NamedIDOptList();
			//$new_task->TaskType->ID=10;
			//Add notes
    //$new_task->Notes = new RNCPHP\NoteArray();
    //$new_task->Notes[0] = new RNCPHP\Note();
    //$new_task->Notes[0]->Channel = new RNCPHP\NamedIDLabel();
    //$new_task->Notes[0]->Channel->LookupName = "Email";
    //$new_task->Notes[0]->Text = "Sample task Notes 1";
    //$new_task->Notes[1] = new RNCPHP\Note();
    //$new_task->Notes[1]->Channel = new RNCPHP\NamedIDLabel();
    //$new_task->Notes[1]->Channel->LookupName = "Phone";
    //$new_task->Notes[1]->Text = "Sample task Notes 2";
	
	//$new_task->Task->Notes = "Sample task Notes 2";
	
	
			//$new_task->save();
			//echo

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!