Friends
Add new...
Empty
I have my own DB which has some articles, and now I want to import them to UNA by codes.
I've tried to use Service Call but it seems that I'm missing something...
require_once( 'inc/header.inc.php' ); bx_srv( 'bx_posts', 'entity_add', array( 3, array( 'title' => 'Some Title', 'cat' => 1, 'text' => 'Post Text' ) ) ); # The '3' is my user PK.
The above returns the below.
Array ( [code] => 2 [message] => _sys_txt_error_occured )
Do I need to do some more things, before I use a Service Call...?
- 840
Jay Casee Discussions