[SalesForce] Global Action Layout Metadata/Deploy

We are currently doing our deploys using Ant. In our package.xml, we have "almost" everything set to "*".

We noticed that after a deployment, the Global Action layouts, as well the default values we had set for some fields didn't make to the target org.

Going through the documentation, I wasn't able to find a specific Global Action metadata type -> Metadata Types

I found a comment under the Success Community where one user said: "Global Action / Publisher Layout is listed in the Page Layouts component type without a value in the Type column."

In our package.xml, for the Layout metadata type, we are "deploying" everything as below:

<types>
    <members>*</members>
    <name>Layout</name>
</types>

Am I missing anything, or Global Actions, including their Page Layouts and default values are considered a "post deploy" step?

Thanks.

Best Answer

As mentioned before - get the list of Global Actions with:

<types>
    <members>Global-Global Layout</members>
    <name>Layout</name>
</types>

But you can update the settings by defining each quickAction.
The key is you don't have to name each Object before the quickAction name.

<types>
    <members>NewTask</members>            <!-- Global Task -->
    <members>Account.NewTask</members>    <!-- NOT THIS -->
    <name>QuickAction</name>  
</types>
Related Topic