Tests whether the PlanSwift application actually has a "Job" opened in the editor.
Syntax:
Procedure: IsJobOpen: Wordbool;
PlanSwift Code: var bOpened: boolean; begin bOpened := PlanSwift.IsJobOpen; end; FreshDesk Code: procedure TForm1.psGetProperty(Sender: TObject); var ps: IPlanSwift; job: IItem; prop: IPropertyObject; begin //Create The Planswift Interface ps := coplanswift.Create; // Check if a job is open if ps.IsJobOpen then begin //Get The Job Item Property Name prop := ps.GetProperty('Job','Name'); //Show The Property Name, Type and Formula ShowMessage('Property Name is: ' + prop.Name + ' Type: ' + prop.PropertyType + ' Formula: ' + prop.Formula); end else begin ShowMessage('No Job Opened'); end; //Free the interface ps := nil; end; |
public class PlanswiftApi { private PlanSwift Planswift { get; } public PlanSwiftApi() { Planswift = new PlanSwift(); } } |
Coming soon |
Coming soon |
Coming soon |