Jump to content


Member Since 30 May 2017
Offline Last Active Oct 15 2020 03:17 PM

Posts I've Made

In Topic: Unable to open files attached through Activity Feed post

12 October 2020 - 03:43 PM

Hello theralsai,


Can you check if your webConfig.php has '<WEBSITE_URL>' as the value for the $url variable?

In Topic: API Call to Add/Complete Process Stages

29 September 2020 - 02:00 PM

Hello Success,


You will need to update the database and the `x2_fields` table in particular. You will need to change the `readonly` attribute of `workflowId` and `stageNumber` to 0. The following should then work:

curl -H 'Content-Type: application/json' -H 'Authorization: Basic {your auth here}' --request POST --data '{"workflowId":1, "type":"workflow", "stageNumber":1}' https://{domain}/index.php/api2/{modelName}/{modelId}/Actions

In Topic: API Call to Add/Complete Process Stages

25 August 2020 - 02:23 PM

Hello Success,


I believe this is possible to do via the API. You will need to set the 'workflowId' field (this fieldname is a misnomer, it is actually the ID of the Process you would like the record to be on) and the 'stageNumber' (this is the number of the stage  of the process you would like the record to be on). Everything else should be straightforward such as the 'associationType', 'associationId' and 'createDate' fields.

In Topic: Backup

09 December 2019 - 03:43 PM

Thank you for the feature idea John. We will look into adding a backup command to the codebase, this would allow the command to be run via Cron. Would you also be interested in performing backups via API?

In Topic: Upgrade X2CRM 7.1 to 8.0

09 December 2019 - 03:29 PM

Thank you for the update status alt_f4! As with all updates, this one was fairly stressful and I am glad that we were able to minimize the update pains. Please let up know if you do happen to run into any issues.