Versions Compared

Key

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

...

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

...

public static java.lang.String createNewUserviewJson(java.lang.String userviewId, java.lang.String userviewName, java.lang.String userviewDescription)
English
Creates a new userview definition json
Thai

สร้างคำจำกัดความ userview ใหม่ json

...