# Collaboration

## Description:

Collaboration

Collaboration component is used to write comments or reviews on any record by setting context value and context type.

### Allowed Parent Components:

1. Card Body
2. Col
3. Grid Child

### Allowed Child Components:

1. Popover
2. Pulse
3. Trigger Before Render

### Properties

### ➤ Collaboration Datasource Alias

Select the DataSource Alias name to perform actions on the store behind this DataSource Alias.

Allowed Values: Free text field

### ➤ Context

Enter the primary attribute or any attribute to which the collabration datasource is related.

Allowed Values: Free text field

### ➤ Context Value

Enter an expression to set the value of the context. Ex.. #{store.taskId}

Allowed Values: An expression which should return string after evaluation

### ➤ Date Format

Allowed Values: Free text field

### ➤ Show Likes

Check this to enable likes on comment

Allowed Values: Yes/No

### ➤ Show Attachments

Check this to attach files

Allowed Values: Yes/No

### ➤ Always Show Delete

Enable this option to always show delete icon.

Allowed Values: Yes/No

### ➤ Input Placeholder

Provide a text to show in the input box of the collaboration as a placeholder. Ex.. 'Comment here... Hold shift+enter to create multi line comment'

Allowed Values: Free text field

### ➤ No Data Icon

Select an icon to show when no data is found.

Allowed Values: Icon List

### ➤ No Data Text1

Provide a text to show as a title when no data found.

Allowed Values: Free text field

### ➤ No Data Text2

Provide a text to show as a sub title when no data found.

Allowed Values: Free text field

### ➤ Profile Picture Disable Condition

Enter an expressin to disable click on the user profile picture in collaboration card.

Allowed Values: An expression which should return string after evaluation

### ➤ Borderless

Allowed Values: Yes/No

### ➤ Height

Provide a numerical value to set height in pixels.

Allowed Values: Any number value

### ➤ On Delete

Allowed Values: Controller Function

### ➤ On Submit

Allowed Values: Controller Function

### ➤ Use Server Timezone

Check this prop if this date should not be converted to browser's timezone. Also make sure the attribute type is set to 'String Date & Time 2' on the server side DataSource definition.

Allowed Values: Yes/No


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudio.io/ui-components/widgets/collaboration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
