English
General
About 347 wordsAbout 1 min
2026-01-19
General
| API Name | Description |
|---|---|
| util.open | Open FenXiang internal page |
Open FenXiang Internal Page
5.4.0
FSOpen.util.open({
name: 'conversation',
params: {
type: 'user',
userIds: ['FSUID_571AA7C41A11BE3D9BA25BDD397AC86E']
}
});Method: FSOpen.util.open
JS Version: 2.0.0
Client Support: 5.4.0 and above
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | Yes | FenXiang internal page name |
| params | Object | No | Parameters required for the corresponding page. Some pages like favorite, downloadedFiles, disk, and wallet don't require parameters. |
name parameter options:
| Type | Description |
|---|---|
| conversation | Enterprise chat session |
| feedOfUser | Personal workspace |
| feedOfDept | Department workspace |
| feedWithId | Work detail page |
| favorite | Favorites |
| downloadedFiles | Download management |
| disk | Cloud storage |
| calendar | Calendar |
| profileOfUser | User profile |
| profileOfService | Service account profile |
| map | Map |
| wallet | Current user wallet |
| checkInRecord | Check-in records |
| CRMVisiting | CRM customer visit records |
conversation parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | String | No | Session type: user (private/group chat), dept (department chat), service (service account chat), common (existing session ID). Default: user |
| userIds | Array[String] | No | Required when type=user. List of users to initiate chat |
| departmentId | Number | No | Required when type=dept. Department ID for chat |
| sessionId | String | No | Required when type=common. Existing group session ID |
| serviceChannelId | String | No | Required when type=service. Service account ID |
feedOfUser parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | String | Yes | User ID |
feedOfDept parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| departmentId | Number | Yes | Department ID |
feedWithId parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| feedId | String | Yes | Work item ID |
| feedType | Number | Yes | Work item type |
calendar parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| year | Number | No | Year (default: current year) |
| month | Number | No | Month (1-12, default: current month) |
| date | Number | No | Day (default: current day) |
profileOfUser parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | String | Yes | User ID |
profileOfService parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| serviceChannelId | String | Yes | Service account ID |
map parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| latitude | Number | Yes | Latitude (default: current location) |
| longitude | Number | Yes | Longitude (default: current location) |
| title | String | No | Map pin bubble text (empty by default) |
checkInRecord parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| checkId | String | Yes | Attendance record ID |
CRMVisiting parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| visitingId | String | Yes | CRM object ID |
