public void getSageObject() { if (SageObject==null) { SageCon=new SageCRMConnection(); SageCon.IsPortal=true; //change the CRMPortalPath to point to your install SageCon.CRMPortalPath = "http://localhost/Portaldemo/SageCRM/component/"; SageObject=new SageCRMBaseClass(); SageObject.SageCRMConnection=SageCon; } }
public SageCRMDataSourceView(IDataSource owner, string TableName, string WhereClause, SageCRMConnection SageCRMConnectionObj, string SelectSQL, string iTop) : base(owner, DefaultViewName) { FSageCRMConnection = SageCRMConnectionObj; FTableName = TableName; FWhereClause = WhereClause; FSelectSQL = SelectSQL; FTop = iTop; FSageCRMCustom = new SageCRMCustom(); //we use this to make our request FSageCRMCustom.SageCRMConnection = FSageCRMConnection; }
public SageCRMDataSourceView(IDataSource owner, string TableName, string WhereClause, SageCRMConnection SageCRMConnectionObj, string SelectSQL, string iTop, bool pNoTLS, bool pCachable, string columnlist, string Workflow, string WorkflowState, string OrderBy = "", string translate = "N") : base(owner, DefaultViewName) { FSageCRMConnection = SageCRMConnectionObj; FTableName = TableName; FWhereClause = WhereClause; FSelectSQL = SelectSQL; FTop = iTop; FNoTLS = pNoTLS; FSageCRMCustom = new SageCRMCustom(); //we use this to make our request FSageCRMCustom.SageCRMConnection = FSageCRMConnection; FCachable = pCachable; FColumnList = columnlist; FTranslate = translate; FWorkflow = Workflow; FWorkflowState = WorkflowState; FOrderBy = OrderBy; }
public TopContentPropEditor(SageCRMTopContent _Block) { this.Block = _Block; this.connectionObject = this.Block.SageCRMConnection; InitializeComponent(); }
public ButtonPropEditor(SageCRMButton _Block) { this.Block = _Block; this.connectionObject = this.Block.SageCRMConnection; InitializeComponent(); }
public FilterPropEditor(SageCRMBaseFilterBlock _Block) { this.Block = _Block; this.connectionObject = this.Block.SageCRMConnection; InitializeComponent(); }
public DataSourcePropEditor(SageCRMDataSource _block) { this.Block = _block; this.connectionObject = this.Block.SageCRMConnection; InitializeComponent(); }
public EntryPropEditor(SageCRMBaseEntryBlock _Block) { this.Block = _Block; this.connectionObject = this.Block.SageCRMConnection; if ((this.Block is SageCRMEntryBlock)==false) { lbl_checklocks.Visible = false; cbCheckLocks.Visible = false; lbl_showflowbtns.Visible = false; cb_showflowbtns.Visible = false; lbl_state.Visible = false; tb_state.Visible = false; } InitializeComponent(); }
public TabPropEditor(SageCRMTabGroup _Block) { this.Block = _Block; this.connectionObject = this.Block.SageCRMConnection; InitializeComponent(); }