Hi,

When creating a new token in Drupal, is there a way to make sure that the token gets synchronized with LS? I believe there is a variable need_save_dp2ls that could be set on the form when editing a token, but I'm not sure how to set this when creating and saving the token and rules.

Thanks.

Comments

jsibley created an issue. See original summary.

jsibley’s picture

Never mind, I remembered after I sent this that setting the synchronization direction in the rule might take care of this, and it seems to work. So, in a rule or rule component:

- Create entity
- Set fields
- Set synchronization direction to Drupal to LS
- Save entity

And there should be a new entity in Drupal and Limesurvey.

Case solved

thedut’s picture

Status: Active » Fixed

Hello jsibley,

You are right !
FYI, the 4th step "Save entity" is optional, if you forget it the entity will be saved anyway.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.