question

Donna Martin avatar image
Donna Martin asked Byrne Reese answered

Cannot link to network file when sending message via http post

An HTTP post including a file link will show up as plain text in RingCentral messaging app.

However, sending this exact text manually (via the RingCentral app) will create the appropriate link. For example:

[here](file:C:/xTemp/logfile.txt)

Additionally, sending a web link via an http post works as well. For example:

[here](http://example.com)

The documentation here (https://developers.ringcentral.com/guide/team-messaging/manual/formatting) seems to imply that mini-markdown should be applied and I should, in fact, be able to create a clickable link to a file this way.

message
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Byrne Reese avatar image
Byrne Reese answered

Mini-markdown can be used to compose links in a message posted to team messaging. Your syntax above is great. However, mini-markdown is just a shorthand for having to write HTML. It does NOT address how files on your local computer are uploaded and shared with others.

So use mini-markdown if the file is already as a web-accessible address or URL. But if the file you want to link to is only your local machine, you need to upload it first. This can be done using the developer documentation below:

https://developers.ringcentral.com/guide/team-messaging/manual/attaching-files

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys