Movilizer - 在 movelet 端触发同步
Movilizer - Trigger sync on movelet end
有小伙伴问我下面的代码行不行,因为按了OK不触发强制同步。我无法确定问题所在。他在 iOS 和 Swing 上进行了测试。
<question type="0" title="MUVE" key="Q(Sync)">
<answer action="FULLSYNC" position="1" nextQuestionKey="END" key="Q(Sync)_ans" labelFontSize="VERYLARGE" labelFontStyle="BOLD" columnSizeType="ROWS" labelAlignment="CENTER">
<text> ¿Seguro que quiere guardar todos los canvios del dia?</text>
</answer>
<onEnterAssignment>
setCustomizingProperty($customizing:'screen.footer.ok.text', 'Guardar');
setCustomizingProperty($customizing:'screen.footer.back.text', 'Atras');
</onEnterAssignment>
</question>
代码看起来很完美。实现所要求功能的两个重要细节是:
- 行动="FULLSYNC"
- nextQuestionKey="END"
两者在您提供的定义中看起来都不错。
有小伙伴问我下面的代码行不行,因为按了OK不触发强制同步。我无法确定问题所在。他在 iOS 和 Swing 上进行了测试。
<question type="0" title="MUVE" key="Q(Sync)">
<answer action="FULLSYNC" position="1" nextQuestionKey="END" key="Q(Sync)_ans" labelFontSize="VERYLARGE" labelFontStyle="BOLD" columnSizeType="ROWS" labelAlignment="CENTER">
<text> ¿Seguro que quiere guardar todos los canvios del dia?</text>
</answer>
<onEnterAssignment>
setCustomizingProperty($customizing:'screen.footer.ok.text', 'Guardar');
setCustomizingProperty($customizing:'screen.footer.back.text', 'Atras');
</onEnterAssignment>
</question>
代码看起来很完美。实现所要求功能的两个重要细节是:
- 行动="FULLSYNC"
- nextQuestionKey="END"
两者在您提供的定义中看起来都不错。