Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions docs/creating-manifest/visual-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -3009,6 +3009,8 @@ success:
```
@@!

In the last example above, the localization functionality is applied, which depends upon the Jelastic Platform selected language.

Email notification also can be customized in <a href="../handling-custom-responses/">custom responses</a>. In this case `email` value from handle custom response has a higher priority. For example:
@@@
```yaml
Expand Down Expand Up @@ -3037,10 +3039,43 @@ success: success!!
```
@@!

In the last example above, the localization functionality is applied, which depends upon the Jelastic Platform selected language.

Custom responses can be returned within <a href="../actions/#return" target="_blank">`return`</a> or <a href="../actions/#script" target="_blank">`script`</a> actions. More details about <a href="../handling-custom-responses/" target="_blank">custom responses here</a>.

### How to disable success text email notification

There are three ways how to email notification can be disabled regarding manifest installation:
1. Do not specify the *success* response block inside a manifest.
2. Specify parameter `email`: **false** inside *success* response block.

@@@
```yaml
type: update
name: Success Text Customization

onInstall:
log: success text test 5

success:
text: success message!!!
email: false
```
```json
{
"type": "update",
"name": "Success Text Customization",
"onInstall": {
"log": "success text test 5"
},
"success": {
"text": "success message!!!",
"email": false
}
}
```
@@!

3. Do not specify parameter `email` inside *return* action response block.

## JPS installation without environment

In case no environment is specified in the manifest, the installation dialog has no *Environment Name* and *Region* fields, but the *[custom settings](/creating-manifest/visual-settings/#custom-settings)* can be used and displayed.
Expand Down