跳转至

Using media in the Ontology(在本体中使用媒体)

Ontologize media using media references

Use media reference object properties to efficiently display your media in applications that build on the ontology. Optimizations include faster and interactive previews in Workshop or Object Explorer, as well as tiling for geospatial imagery in Map.

Custom logic using media reference properties

Use objects with media reference object properties in functions on objects.

You can read the raw media item directly. Additionally, you can perform common type-specific operations on the media item, such as:

  • OCR on documents
  • text extraction from documents
  • audio transcription
  • read media item metadata

Leveraging media with OSDK

If you are building applications with Foundry as the backend, you can leverage the media capabilities in OSDK.

Considerations for use

  • Media files uploaded in action forms are only uploaded to the backing media set upon successful form submission, to ensure that canceled or failed submissions do not result in orphaned media files in media sets.
  • Media reference lists are not supported as a property type on an object.

中文翻译


在本体中使用媒体

通过媒体引用实现本体化媒体

使用媒体引用对象属性,可在基于本体构建的应用程序中高效展示媒体内容。相关优化包括在 Workshop 或 Object Explorer 中实现更快速、交互式的预览,以及在地图应用中支持地理空间影像的瓦片化显示。

基于媒体引用属性的自定义逻辑

对象函数中使用包含媒体引用对象属性的对象。

您可以直接读取原始媒体项。此外,还可对媒体项执行常见的类型特定操作,例如:

  • 文档 OCR 识别
  • 文档文本提取
  • 音频转录
  • 读取媒体项元数据

通过 OSDK 利用媒体功能

若您以 Foundry 为后端构建应用程序,可充分利用 OSDK 中的媒体功能

使用注意事项

  • 在操作表单中上传的媒体文件,仅在表单成功提交后才会上传至底层媒体集,以确保取消或失败的提交不会在媒体集中产生孤立媒体文件。
  • 对象属性类型不支持媒体引用列表。