Example #1
0
        private static async Task CreateWorkspaceAsync()
        {
            Console2.WriteStartHeader("Create Workspace");
            Stopwatch stopwatch = new Stopwatch();

            stopwatch.Start();

            WorkspaceHelper workspaceHelper = new WorkspaceHelper(_connectionManager.RsapiClient);

            _workspaceArtifactId = await workspaceHelper.QueryTemplateAndCreateWorkspaceAsync();

            // Create the Responsive - E2E Field
            await RESTSearchHelper.CreateResponsiveFieldAsync(_httpClient, _workspaceArtifactId);

            stopwatch.Stop();
            DisplayTimeElapsed(stopwatch.Elapsed);
        }