3ds-cpe-emed / 3dxws-dotnet-core-sdk Goto Github PK
View Code? Open in Web Editor NEWOpen Source Initiative from DS CPE Emed team for creating a DotNet SDK for 3DEXPERIENCE Web Services.
Open Source Initiative from DS CPE Emed team for creating a DotNet SDK for 3DEXPERIENCE Web Services.
Extend the Engineering Web Services with the ability to create Engineering Instances. Add unit tests.
The error seems to be related to the fact that the $searchStr is not being Url encoded.
Review attributes of existing events :
Support to new events:
Extend the EngineeringService class with the Bulk Fetch method resource
Engineering Item usage attribute is retrieved from GET using the Common mask.
Enhance following ds.enovia.dseng.service.EngineeringServices services to include the management of multivalued attributes:
e.g. when Parts have Part in Part relationship we can get the additional attribute when using the Details mask. Something like:
"relatedData": {
"totalItems": 2,
"member": [
{
"cadlinktype": "BasePart",
"referencedObject": {
"source": "$3DSpace",
"type": "VPMReference",
"id": "7091BF56189000006399F2320000F3C3",
"relativePath": "resource/v1/dsxcad/dsxcad:Part/7091BF56189000006399F2320000F3C3"
},
"cestamp": "7091BF56189000006399F231001CD69E"
},
{
"cadlinktype": "BasePart",
"referencedObject": {
"source": "$3DSpace",
"type": "VPMReference",
"id": "7091BF56189000006399F231001E75FB",
"relativePath": "resource/v1/dsxcad/dsxcad:Part/7091BF56189000006399F231001E75FB"
},
"cestamp": "7091BF56189000006399F231001CD69E"
}
]
}
Create Document attachment link between an existing physical id (parentId) and an existing document. The current function CreateDocumentAsAttachment does create a new document instead.
related also to #42
Transfer ownership support in the collaborative lifecycle
In 23xFD02 it was added the capability to set and get the OOTB attribute "Manufacturable/Procurable" as isManufacturable when invoking to GET dseng:EngItem using the mask EngItemMask: FUN122686.
Extend the current SDK implementation to support the new attribute in dseng:EngItem.
Add xCADDrawing service Locate endpoint as defined in the public 3DS documentation - link here
XCAD Model entities, like xCADPart, are not having their extended attributes, like AuthoringFile, xCADAttributes, VisualizationFile, not populated, while their standard / direct attributes are being populated.
Extend the current dsxcad implementation that has basic support for Part, FamilyRepresentation and Drawing with the additonal, recently added, Product, Representation and Template.
Basic support should be understood as search and get functions.
dsxcad:Representation/search
dsxcad:Representation/{ID}
dsxcad:Product/search
dsxcad:Product/{ID}
if there are errors in the output of a bulk fetch these are sent back to the user on a structure that extends the current "NlsLabeledItemSet" collection:
{
"totalItems": 0,
"member": [],
"totalNonmembers": 1,
"nonmembers": [
"972ACBD9654100006500380600192183"
],
"nlsLabel": {
"id": "Id",
"type": "Type",
"modified": "Modification Date",
"created": "Creation Date",
"revision": "Revision",
"state": "State",
"owner": "Owner",
"isManufacturable": "Manufacturable/Procurable"
}
}
The current methods should support this. Related to #59
error "Object Reference not set to an instance of an object" when preferredCredentials collabspace, role and organization are null
Add xCADFamilyRepresentation service Locate endpoint as defined in the public 3DS documentation - link here
SearchByCollaborativeSpace does not work if the collaborative space being searched contains a space (e.g. "AAA27 Personal")
Implement basic support to bookmark search
Recent updates on the 3DPassport CAS cookies exchanged with the Cloud tenant require additional checks of this sdk isCookieAuthenticated function.
If you have started getting ds.authentication.exception.AuthenticationException since Cloud upgrade to 2024X FD03 without any specific change on your code and you are using 3DPassport authentication url of the form "https://r123456789-eu1.iam.3dexperience.3ds.com" then you can either change your 3DPassport authentication url to "https://eu1-ds-iam.3dexperience.3ds.com/" or upgrade the version to 2.0.5 of this module which introduces a fix for this.
Is it planned to extend the SDK for creating/uploading xcad files like part or drawing?
In ds.enovia.service.GetCurrentUserInfoAsync() there is a bug by adding query parameters if both variables (IncludeCollaborativeSpaces and IncludePreferredCredentials) are true.
A dictionary cannot have the same key "select" multiple time.
An exception is raised in such a case.
if (IncludeCollaborativeSpaces)
{
queryParameters.Add("select", "collabspaces");
}
if (IncludePreferredCredentials)
{
queryParameters.Add("select", "preferredcredentials");
}
A caller is ds.authentication.ui.win.m_loginButton_Click() with both boolean variables set to true:
UserInfoService userInfoService = new UserInfoService(enoviaURL, Passport, Tenant);
userInfoService.Current = true;
userInfoService.IncludeCollaborativeSpaces = true;
userInfoService.IncludePreferredCredentials = true;
// verify authentication by getting associated user information
UserInfo = await userInfoService.GetCurrentUserInfoAsync();
Extend DocumentService to implement I3DXSearchable and implement SearchAll (as in Engineering Item)
The CAD Family Representation Locate endpoint, of the CAD Collaboration web services group, accepts multiple objects as input. Extend the current SDK implementation to support the schema definition.
Create Document specificaton link between an existing physical id (parentId) and an existing document. The current function CreateDocumentAsSpecification does create a new document instead.
Add basic dsdrw:Drawing search and get capability
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.