lists.element.get.file.url
lists.element.get.file.url ( params )
This method returns path to a file. If successful, returns an array with a list of url for the required File-type or a File (Disk)-type field.
Parameters
Method | Description | Available from version |
---|---|---|
params | All fields are required.
|
Example
var params = { 'IBLOCK_TYPE_ID': 'lists', 'IBLOCK_ID': '41', 'ELEMENT_ID': '683', 'FIELD_ID': '120' }; BX.rest.callMethod( 'lists.element.get.file.url', params, function(result) { if(result.error()) alert("Error: " + result.error()); else console.log(result.data()); } )
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
User Comments
User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.