AnsweredAssumed Answered

Access file in content directly

Question asked by Alberto Ruiz on Apr 14, 2016
Latest reply on Dec 15, 2016 by aa0045190

Hello,

 

We want to access a file in a course directly, generating a link using webservices to receive the required information.

 

I have found that, no matter how the file is attached to a content, the link meets the pattern:

https://campus.elearningsolutions.es/bbcswebdav/pid-3419-dt-content-rid-65817_1/xid-65817_1

where 3419 is the content_id and 65817_1 is the resource_id. The rest of the url is static, even if the content is inside another content or in a folder.

 

The content id and resource id can be found using the webservices, and we can access the file using basic auth.

 

Is this a good approach or there are a better way to achieve this?.

 

I am figuring now how to get info of the files inside SCORM packages too. Ideas are welcome

Outcomes