Book a Demo

Author Topic: No API documentation for Repository.ImportRASAsset()  (Read 4814 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
No API documentation for Repository.ImportRASAsset()
« on: April 13, 2018, 06:34:55 pm »
Hi all,

There is no documentation in the user guide for the automation function Repository.ImportRASAsset(), which was introduced in 1308.

According to EA's VBScript IntelliSense it takes eight string parameters, which takes a bit more effort to work out through trial and error than I would like to spend.

Reported.


/Uffe
My theories are always correct, just apply them to the right reality.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: No API documentation for Repository.ImportRASAsset()
« Reply #1 on: April 16, 2018, 11:55:23 am »
Hi Uffe,

Thanks for pointing it out. Looks like it slipped through the cracks, but it should be making it's way into the help for EA 14. The draft for documentation of this method is as follows:

Quote
ImportRASAsset( string packageGUID, string protocol, string servername, string model, string storage, string rasGUID, string password, string version)

Parameters:
packageGUID: string  - Package GUID to import to
protocol: string  - Protocol the server is using
servername: string  - Name of RAS server
model: string - Name of the RAS model to use
storage: string - Storage name of the RAS asset
rasGUID: string - GUID of the RAS asset
password: string - Password to access the RAS asset
version: string - Version of the RAS asset to import

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: No API documentation for Repository.ImportRASAsset()
« Reply #2 on: April 16, 2018, 06:12:05 pm »
Great, thanks! :)

/U
My theories are always correct, just apply them to the right reality.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: No API documentation for Repository.ImportRASAsset()
« Reply #3 on: April 16, 2018, 06:15:34 pm »
... any chance of a RegisterRASAsset() call making an appearance as well...?
My theories are always correct, just apply them to the right reality.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: No API documentation for Repository.ImportRASAsset()
« Reply #4 on: April 18, 2018, 08:52:18 am »
That function hasn't been added to the API because it requires user feedback on how to handle dependencies.