0

when i create an event from a template some tabs are ok (prices, online registration) but Scheduled Reminder tab is always not copied and empty. Its' a Bug or a Feature ? My call is like this :

$results = \Civi\Api4\Event::create()
  ->addValue('template_id', 92) <---- this is my template with SR set
  ->addValue('title', 'new event')
  ->addValue('start_date', '2020-11-20 00:40:00')
  ->execute();
foreach ($results as $result) {
  // do something
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.