Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


English

Description

Thai

ลักษณะ

  • org.joget.apps.generator.service.GeneratorUtil
  • Under wflow-core module
  • Utility methods can be used by Generator Plugin

...

Code Block
languagejava
import org.joget.apps.app.model.AppDefinition;
import org.joget.apps.app.service.AppUtil;
import org.joget.apps.generator.service.GeneratorUtil;

String formId = "crm_account";
AppDefinition appDef = AppUtil.getCurrentAppDefinition();
 
String content = "This is a test string for form [formId] in app [appName]";
 
//Change the syntax to form meta
content = GeneratorUtil.populateFormMeta(content, formId, appDef);

Methods

Thai

กระบวนการ

addCategoryJsonToUserviewJson

...