
Hello there,
Needing some help with the following please.
I have a DataTable (DataTable1) which is displaying data from a SharePoint list called lldb.
The data table works as intended and shows everything I need. One of the columns in the SharePoint list is a hyperlink. I am using this column (3dmodelink) with the link to a document library with the 3dmodel.
I have tested the links. the 3d models download when I click on the link.
This is the code i'm using on my 3d object source field:
(DataTable1.Selected).'3dmodelink'
The helper below the coding window displays the link just fine:
https://redacted.sharepoint.com/:u:/r/teams/redacted/3Dmodels/UGN_1_1_0_0_0_0_0_.glb
Problem is though, the 3d model never shows.
I have had success reference the Attachment column with an attached 3d model file however this is not the solution i am chasing. I have thousands of items in the SharePoint list. It is easier for me to reference a list and a library of models.
Thanks in advance for any suggestions.
edit: adding to this, when I utilise the url from the microsoft wiki: https://github.com/microsoft/experimental-pcf-control-assets/blob/master/robot_arm.glb as the model url in my SharePoint list, everything works as expected and the robot arm is shown in the app. It seems the issue is possibly related to the file storage in the SharePoint doc library or the link i'm using.
I'm aware of these constraints but i don't know how to verify if the CORS requirement is my issue or not. any tips on how to check easily?
Hello @MickM
Hope you are doing good,
I was using the same, am storing the glb image in Sharepoint List Item and Used Below code, it works like charm, give a try for the same
First(GALLERYNAME.Selected.'{Attachments}').Value
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Follow me on Twitter : @rampprakashd
Blog : https://microsoftcrmtechie.blogspot.com