How to create text file in outsystems

谁都会走 提交于 2019-12-06 09:57:32

问题


I want to create a text file in outsystems. I have data in an entity and I want to create a text file using that entity's attribute values.

Can anyone provide an example showing how this can be done?


回答1:


You can use the TextToBinaryData function and use its result in the Download node as file content, with the Mime-type set to "text/plain".

The TextToBinaryData is available in the Binary extension which you probably have already installed in your environment, but perhaps you need to use add/remove references to make it available in your module.

You can use the Download node in any screen action as a terminal node (like the End node).

References: Download Files, Binary Data API



来源:https://stackoverflow.com/questions/32698744/how-to-create-text-file-in-outsystems

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!