From Clomosy Docs

(Created page with "<div class="alert alert-ligth border border-3 border-primary-subtle rounded-5 p-4 shadow-sm" role="alert"> function Clomosy.ClomosyID :Integer; </div> There are two different mobile applications for Clomosy: Clomosy CRM and Clomosy Learn. This feature is used to determine which application you are using. A return value of 0 means that the project was accessed through Clomosy CRM, while a value of 1 indicates that the project was accessed through Clomosy LEARN.<br> <b>E...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:


<b>Example</b><br>
<b>Example</b><br>
<b>TRObject Syntax</b><br>
 
<pre>
<pre>
var
var
Line 18: Line 18:
   }
   }
}
}
</pre>
<b>Base Syntax</b><br>
<pre>
var
  appState : Integer;
begin
  appState := Clomosy.ClomosyID;
  case appState of
    0 : ShowMessage('Clomosy CRM');
    1 : ShowMessage('Clomosy Learn');
  end;
end;
</pre>
</pre>


<h2> See Also </h2>
<h2> See Also </h2>
* [[Clomosy_Class#System_Function | System Functions]]
* [[Clomosy_Class#System_Function | System Functions]]
{{#seo:|title=ClomosyID in Clomosy - Clomosy Docs }}
{{#seo:|description=Use ClomosyID in Clomosy to identify whether the project is accessed via Clomosy CRM or Clomosy Learn.}}

Latest revision as of 14:58, 24 December 2024

There are two different mobile applications for Clomosy: Clomosy CRM and Clomosy Learn. This feature is used to determine which application you are using. A return value of 0 means that the project was accessed through Clomosy CRM, while a value of 1 indicates that the project was accessed through Clomosy LEARN.

Example

var
  appState : Integer;
{
  appState = Clomosy.ClomosyID;
  case appState of
  {
    0 : ShowMessage('Clomosy CRM');
    1 : ShowMessage('Clomosy Learn');
  }
}

See Also