code: func (obj *Global) CreateApp(ctx context.Context, appName string, localizedScriptMainSection string) (bool, string, error) {
  	result := &struct {
  		Success bool	`json:"qSuccess"`
  		AppId string	`json:"qAppId"`
  	} {}
  	err := obj.rpc(ctx, "CreateApp", result, appName, localizedScriptMainSection)
  	return result.Success, result.AppId, err 
  }
docs: // Creates an app.
  // 
  // The operation is successful if qSuccess is set to true.
  // 
  // Logs:
  // 
  // When this method is called, audit activity logs are produced to track the user activity.
  // In the case of errors, both audit activity logs and system services logs are produced.
  // The log files are named as follows:
  // 
  //   +----------------------------------------+---------------------------------+
  //   |           AUDIT ACTIVITY LOG           |       SYSTEM SERVICE LOG        |
  //   +----------------------------------------+---------------------------------+
  //   | <MachineName>_AuditActivity_Engine.txt | <MachineName>_ServiceEngine.txt |
  //   | in Qlik Sense Enterprise               | in Qlik Sense Enterprise        |
  //   | <MachineName>_AuditActivity_Engine.log | <MachineName>_ServiceEngine.log |
  //   | in Qlik Sense Desktop                  | in Qlik Sense Desktop           |
  //   +----------------------------------------+---------------------------------+
  // 
  // Where to find the log files:
  // 
  // The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.
  // 
  //   +-------------------------------------+----------------------------------------+
  //   |        QLIK SENSE ENTERPRISE        |           QLIK SENSE DESKTOP           |
  //   +-------------------------------------+----------------------------------------+
  //   | %ProgramData%/Qlik/Sense/Log/Engine | %UserProfile%/Documents/Qlik/Sense/Log |
  //   +-------------------------------------+----------------------------------------+
  //
  // Parameters:
  //
  // ◾ appName                      -   Name of the app.
  //
  // ◾ localizedScriptMainSection   -   Name of the first section in the script editor.
  // The default value is Main.
  //