oracle-samples / oracle-samples/ofs-plugin-core

"iconData" is not updating image.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

"iconData" is not updating image.
can you please provide a sample for icon change on close message.

apiVersion: 1,
method: "close",
iconData: {
color: "highlight",
text: "117",
image: new Blob([icon], {
type: "image/svg+xml",
}),
},
I am getting error below
{
"apiVersion": 1,
"method": "error",
"entity": "activityList",
"errors": [
{
"type": "TYPE_ICON_DATA",
"code": "CODE_ICON_BLOB_INVALID"
}
]
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how close messages and the iconData.image Blob are validated in the Oracle Field Service plugin API, using TYPE_ICON_DATA and CODE_ICON_BLOB_INVALID as search terms. Confirm the accepted image format and provide or validate a working icon-change example for the close message.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.