Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

How to create a new record into Custom Object on CPM? (1 Comment)

$
0
0

Topic by Kazuyoshi Takahashi

Content

Hi.

I tried to create a new record into a custom object on CPM.

But It failed.

I could update a record by queryObject.

Does anyone know how to create a new record into a custom object on CPM?

RightNow Version is Feb 2015.

The custom object name is "internal_keyword".

The package was named "int_answer".

I could update the record in the custom object with "RNCPHP\ROQL::queryObject".

Please see the code snippet.

I could create new records into custom object on CP page below.

    $newObj = new \RightNow\Connect\v1_2\int_answer\internal_keyword();
    $newObj->keyword = "hogehoge";
    $newObj->a_id = 1;
    $newObj->save();

But I could not get Object on CPM as above.

BR,

 

 

 

Version

Feb 2015

Code Block

Image


Viewing all articles
Browse latest Browse all 2504

Trending Articles