{"id":24042403,"url":"https://github.com/3ds-cpe-emed/ds-3dx-custom-widget-samples","last_synced_at":"2025-05-08T20:53:48.499Z","repository":{"id":230225403,"uuid":"778806529","full_name":"3ds-cpe-emed/ds-3dx-custom-widget-samples","owner":"3ds-cpe-emed","description":"Examples of 3DEXPERIENCE Custom Widgets","archived":false,"fork":false,"pushed_at":"2024-03-29T11:04:49.000Z","size":12,"stargazers_count":11,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T18:07:10.746Z","etag":null,"topics":["3dexperience","custom-widgets","customwidgets","web-services","webservices"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3ds-cpe-emed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-28T12:51:13.000Z","updated_at":"2025-02-26T09:50:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d7b7289-64b0-4bcb-b380-8dc1bc3ca994","html_url":"https://github.com/3ds-cpe-emed/ds-3dx-custom-widget-samples","commit_stats":null,"previous_names":["3ds-cpe-emed/ds-3dx-custom-widget-samples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ds-cpe-emed%2Fds-3dx-custom-widget-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ds-cpe-emed%2Fds-3dx-custom-widget-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ds-cpe-emed%2Fds-3dx-custom-widget-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ds-cpe-emed%2Fds-3dx-custom-widget-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3ds-cpe-emed","download_url":"https://codeload.github.com/3ds-cpe-emed/ds-3dx-custom-widget-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253149380,"owners_count":21861717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3dexperience","custom-widgets","customwidgets","web-services","webservices"],"created_at":"2025-01-08T22:54:51.289Z","updated_at":"2025-05-08T20:53:48.493Z","avatar_url":"https://github.com/3ds-cpe-emed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ds-3dx-custom-widget-samples\nExamples of 3DEXPERIENCE Custom Widgets. The samples provided in this repository are merely for learning purposes and should not be used as-is in any production deployment. \n\n## custom-widget-basic-authcall\nExercise WAFData authenticatedRequest in the main.js. Makes Web service calls using DS Passport authentication. It must be used for services of the 3DEXPERIENCE.\n\n## custom-widget-basic-proxycall\nExercise WAFData proxifiedRequest in the main.js. The proxified request avoids CORS issues when calling a backend/some API that doesn't accept calls from a different domain (3dexperience.3ds.com).\n\n## custom-widget-vuejs-template01\nBasic - with minimal dependencies and simplified as possible - VueJS with webpack custom widget \"Hello World\" demo. Requires NodeJs installed for building. I have used NodeJS 20.12.0.\n\n### Deployment considerations\n#### Azure \nIn some of the samples if you are deploying them as an Azure Static Web App you might need to include the staticwebapp.config.json file with the distribution. This might be needed if the sample is using a straight fetch (and not a WAFData proxified call). The file should contain the following:\n```json\n{\n    \"globalHeaders\": {\n      \"Access-Control-Allow-Origin\": \"*\",\n      \"Access-Control-Allow-Methods\": \"POST, GET, OPTIONS\"\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3ds-cpe-emed%2Fds-3dx-custom-widget-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3ds-cpe-emed%2Fds-3dx-custom-widget-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3ds-cpe-emed%2Fds-3dx-custom-widget-samples/lists"}