Questions tagged [deployment-api]

Deployment API represents a javascript api that is associated with the deployments elements of Live Agent in Salesforce.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Deactivate all triggers and validation rules as post refresh step?

I have multiple sandbox related to the production org. Currently I wanted to refresh my full copy sandbox, There is a way that i can provide an apex class to run post refresh. The apex class which ...
4
votes
3answers
72 views

VS Code Deploying User Interface similar to MavensMate?

One of the things I loved about MavensMate was how easy it was to deploy Metadata from one SFDC Org to another. See image below - it allowed you to select which metadata types you wanted to deploy and ...
1
vote
0answers
22 views

SFDX source deploy antivirus scanning

I have a jenkins server runnig a sfdx source deploy command. Compared with mdapi it is much slow. In my case 20 min more, but I found out that anti-malware of the server anti virus, is scanning the ...
0
votes
0answers
485 views

Send Email is disabled or activities are not allowed. Enable Send Email and allow activities, then try again

I'm getting the following error while deploying the case page layout to another org vi Copado. Deployment Error: [QuickAction Case.Custom_Email] Send Email is disabled or activities are not allowed. ...
1
vote
2answers
353 views

Error while deployment through SFDX

I took the complete org backup from one org and trying to deploy it in another org. While deployment through the SFDX, I am getting the following errors: Invalid fullName, must end in a custom suffix ...
0
votes
0answers
22 views

Ant Migration Tool - where to get a source code

We are trying to implement some additional logic on top of sf:deploy and other targets provided by Ant Migration Tool. But need to examine a source code of those targets to better understand what's ...
0
votes
0answers
37 views

Modify Live Agent Deployment Code

We have a Chat link that resides on our public website. We need to now have the customer opt in and agree to our Privacy policy before they can initiate the chat. So we created a webpage where the ...
0
votes
1answer
65 views

How to check deployment history in production org

In production org when I click on the deployment status, it shows a list of passed and failed deployments like below image if it is deployed from a changeset then in name section it shows the name ...
0
votes
0answers
64 views

Salesforce MetaData API Community Deployment Error - Not available for deploy for this organization

While we are deploying lightning community from one sandbox to another through Metadata API then getting below error, can anyone help on this. Community is already enabled in sandbox where we are ...
2
votes
1answer
142 views

CaseId is not associated to LiveChatTranscript record as expected

I'm using the Live Agent Deployment API to trigger the live chat flow, before initialize the chat window we also run saveToTranscript to associate a Case to LiveChatTranscript by filling the case id, ...
2
votes
1answer
643 views

Usage of cli command - sfdx force:source:convert

I used force:source:retrieve to retrieve the given list of components (classes, workflows etc) and committed the files to git. Now I want to deploy these components to higher environments like QA and ...
0
votes
1answer
628 views

Deploying GlobalValueSet and GlobalPicklist with ANT error

I am trying to deploy GlobalValueSet and GlobalPicklist with ANT but get the following error: globalPicklists/GP0.globalPicklist Global Value Set 0 0 Not available for deploy for this API ...
1
vote
1answer
27 views

How do I deploy salesforce Apex code programmatically using metadataAPI?

I am developing an application that is supposed to connect with clients' salesforce accounts and deploy some apex code to them. I am doing this in Groovy - but Java works same. After looking at the ...
1
vote
1answer
2k views

How to Retrieve & Deploy Salesforce Lightning Theme using metadata api?

We created a custom Lightning Theme (Setup > User Interface > Themes and Branding) in the sandbox and have to push it to another org using Metadata API. We were able to retrieve Branding Set from ...
1
vote
1answer
2k views

Deployment Error caused by duplicate label

at the moment I'm working on a project where Salesforce DX is used. There I have a problem when I try to add the item "Messe" to the Opportunity LeadSource picklist. <standardValue> <...
0
votes
0answers
40 views

Scheduler test class error while deploying to Production [duplicate]

Scheduler class: global class Bank implements Database.batchable<sObject> , Database.Stateful{ private EmailTemplate emailTemp; global Bank(){ emailTemp = [Select Id From EmailTemplate ...
1
vote
0answers
239 views

How can I customize the “Cancel Chat” button to show a better “disconnected” style? [closed]

The "Cancel Chat" button does cancel the connection, but it doesn't appear disconnected to the user. It appears like it's still trying to make a connection. Any way to customize it?
3
votes
1answer
218 views

Is salesforce DX for me? [closed]

i am trying to implement a Continuous Integration and hence Continuous Delivery with salesforce. I have made good in-roads using the ANT migration tool, CI server and an open source nodejs package. ...
1
vote
1answer
271 views

Account is never found by name

So we're using the liveagent.findOrCreate Deployment APIs to initiate our Live Agent Chats. We are not calling the liveagent.prechat versions and are having issues finding already existing Accounts. ...
0
votes
1answer
17 views

Metadata deplyment with Java

I'm trying to use java tool for deployment and seems I having issue with creating zip file.I wrote function that receive list of files path and build ZIP folder with them. Issue is when I deploy the ...
1
vote
1answer
108 views

How to Parallel y deploy two packages using Quick Deploy option

I am having Two packages for every release to the production before the deployment window i validate them successfully with Prod to keep them ready for deployment, I what to see the Quick deploy ...
0
votes
1answer
970 views

Deploy Queue with Ant

I need to deploy Queue with Ant from 1 sandbox to other. I can retrieve the queue XML using eclipse IDE, and it contain all the setup in the queue, except the Queue Members. At first I set in the ...
0
votes
1answer
212 views

'CANNOT_EXECUTE_FLOW_TRIGGER' deployment error

We are deploying our metadata through ANT migration tool.there are flows which are calling apex class and some flows are getting called from process builder.we have test class for apex class and flows ...
1
vote
1answer
484 views

Unable to Deploy MetaData using Workbench/ANT [duplicate]

I'm trying to deploy a metadata package using the migration tool of workbench/ANT with no success. In both cases, I got "Maximum size of request reached" error message. The package file size is 80 mb. ...
1
vote
0answers
634 views

How to pop up contact record on live agent chat accept without pre-chat and Deployment API?

We are trying to develop live agent but not using the pre-chat form at all and we are using deployment API to some extent to transfer some contact information over to salesforce when the chat is ...
0
votes
1answer
3k views

Force IDE: Unable to deploy package to server - Problem: Error parsing file: Element

I am trying to mass create fields on the account object but whenever I try to deploy the fields I created to the server I get the following error. If you guys have any thoughts about what could be ...
2
votes
1answer
712 views

liveagent.init callback function

I am trying to setup liveagent but am running into an issue with starting the chat. We have a form that the user enters information about themselves, and then a button to begin the chat. I use the ...
0
votes
1answer
32 views

Fetch deployment status and related deployed metadata components through same and other salesforce org?

Is there a way through which we can fetch deployment status and related deployed metadata components through same and other salesforce org?
0
votes
1answer
415 views

Metadata API Deployment Failure

I am trying to deploy Weblink from Task Object to the Activity object , but it says "no WebLink found ObjectName.FieldName. Here is the Activity.object XML: <?xml version="1.0" encoding="UTF-8"?&...
8
votes
2answers
4k views

Force.com migration tool deployment error with a history Tracking enabled custom object

While I was trying to deploy a copy of source code of production to a developer SB, with the Force.com migration tool, encountered the below error for a custom object with enableHistory = true in the ...