Post

1 follower Follow
0
Avatar

how to create a reference app field?

Hi All,
I am using the below function to create a new reference field, but it create a field in the app WITH OUT reference
what is wrong with my code
App id : 5654058
Ref ID : 5668521

$options[] = array();       

$field_id=PodioAppField::create(5654058,
    $attributes = array(
        "type"=>"app",
        "config"=>array(
            "label"=>"My New Field2",

            "settings" => array(
                "multiple" => false,
                "member"=>true,
                "options"=> $options,
                "external_app_id" =>5668521,
                )
                        ))); 

Please advice

Vikas Bhadran

Please sign in to leave a comment.