powerflc:code_reference:objects:flcconnection

FlcConnection

The FlcConnection object is of type FusionLifecycleProxy.FusionLifecycle.IFusionLifecycleConnection and provides the required information for directly accessing the Fusion Lifecycle APIs.

The $flcConnection is available after beeing connected to the Fusion Lifecycle tenant.

$flcConnection.Url

Following properties are available :

TypeNameDescriptionAccess type
stringTenantThe name of the connected Fusion Lifecycle tenantread-only
System.UriUrlThe base URL for sending requests to the Fusion Lifecycle API Endpoints, in the format https://<Tenant>.autodeskplm360.net/. read-only
stringUserIdThe e-mail address of a particular user who is performing the requests to Fusion Lifecycle.read-only
stringAuthenticationTokenThe access token that was returned after a successful Forge authentication, in the format Bearer <Token>.
Automatically returns a refreshed token when the previous token expired.
read-only
IWorkspacesWorkspacesA collection of workspaces accessible on the current tenant.read-only

Tenant                  : previewcoolorange
Url                     : https://previewcoolorange.autodeskplm360.net/
UserId                  : info@coolorange.com
AuthenticationToken     : Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6Imp3dF9zeW1tZXRyaWNfa2V5In0.eyJjbGllbnRfaWQiOiJua2VyWlFoQUZFZ3Q5ZjIzSms4YVE2QjJOZVJhTFNqVSIsImV4cCI6MTU3NDI2OTc2MSwic2NvcGUiOlsidmlld2FibGVzOnJlYWQiLCJkYXRhOnJlYWQiLCJkYXRhOndyaXRlIiwiZGF0YTpjcmVhdGUiLCJkYXRhOnNlYXJjaCJdLCJhdWQiOiJodHRwczovL2F1dG9kZXNrLmNvbS9hdWQvand0ZXhwNjAiLCJqdGkiOiJ1Q1c1UVlMbWhjMFdwYTRjOWY5ZGxuVHVVTUxwWmtYSlRWbTdoRTdZeFRQVWhwdlNEWnFPU3ZZSXFoSmRFV2JtIn0.xe2-CYW3HFmO1x0figGuFVKFeS9_URlQsLjhGXyrK8g
Workspaces              : {Products, Tasks, Items and BOMs, Documents...}