D2 Smart View Custom Widget Tile Issue
Hi Team,
Issue Description:
We are trying to deploy the D2SV Custom Widget Type Tile sample that is bundled with D2 Smartview SDK 23.2.0 version. We have also applied the HF D2SV-SDK_Patch_3 to our SDK package.
We generated the jar file as per the instructions given in the below documentation.
D2SV Custom Widget Type Tile | D2 Smartview SDK (opentext.github.io).
In addition to the steps mentioned in the documentation, we also placed the custom jar file in D2-Config/WEB-INF/classes/plugins.
After making all the required changes, we are still not able to view the new widget type in the D2-Config widget types dropdown. We are not able to see any errors related to the custom widget in the D2-Config logs.
Version Details:
We used the below set of versions to generate the jar file.
Java version: 11.0.19
Node version: 16.16.0
Npm version: 9.7.1
Maven version: 3.8.2
D2, D2-SV Version: 23.2
CS Version: 23.2.0000.0165 Win64.Oracle
Kindly let us know how to fix this issue and please let us know if you need any further details.
Answers
-
The main reason I could think for it not showing up is a missing plugin specification in D2-Config.properties file, can you confirm that is configured?
0 -
Hi @Michael McCollough, yes, we already followed all steps mentioned by you and updated the plugin details in the D2-Config.Properties. Unfortunately it is still not working.
0 -
Hi @Jürgen Tebrün : Any error in the D2-Config.log?
0 -
Hi Antony,
in the D2-Config log, we don’t see any error message related to the custom widget. (+PFA)Even though the widget is not listed we have manually updated the landing page and imported it in the system.
In D2-Smartview, we can see the below error because we have not created/mapped the widget config.
Are you able to send us the working custom widget jar and also the configuration steps?
We can also have a call with you for a demonstration.
landingpage_D2-Base_basic_presentation %25252525281%2525252529 %25281%2529.xml
<?xml version="1.0" encoding="utf-8"?><root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="U4Landing.xsd">
<space>
<flow-layout-container>
<content>
<tile-container size="full">
<tile name="D2-Base Doclist" type="DoclistWidget">
<theme color="shade2" type="teal1"/>
</tile>
</tile-container>
<tile-container size="full">
<action-tile type="CreateFile">
<theme color="shade2" type="teal2"/>
</action-tile>
<action-tile type="UploadFile">
<theme color="shade3" type="teal2"/>
</action-tile>
</tile-container>
<tile-container size="full">
<tile name="D2-Base Workflow-Workflow Overview-All" type="WorkflowOverviewWidget">
<color>
<background-color>#9680cf</background-color>
<text-color>#FFFFFF</text-color>
</color>
</tile>
<tile name="D2-Base Doclist Temp Cabinet" type="DoclistWidget">
<color>
<background-color>#b9abdf</background-color>
<text-color>#FFFFFF</text-color>
</color>
</tile>
<tile name="D2-Base Open URL" type="OpenURLWidget">
<theme color="shade1" type="stone1"/>
</tile>
<tile name="D2-CustomType" type="CustomType">
<theme color="shade1" type="stone1"/>
</tile>
</tile-container>
<widget-container>
<widget name="D2-Base Search" type="SearchWidget"/>
</widget-container>
<widget-container>
<widget name="D2-Base Favorites" type="FavoritesWidget"/>
</widget-container>
<widget-container>
<widget name="D2-Base Checkedout" type="CheckoutDocumentWidget"/>
</widget-container>
<widget-container>
<widget name="D2-Base RecentlyAccessedWidget" type="RecentlyAccessedWidget"/>
</widget-container>
<widget-container>
<widget name="D2-Base Workflow-Workflow Overview-My" type="WorkflowOverviewWidget"/>
</widget-container>
<widget-container>
<widget name="D2-Base Workflow-Tasks" type="TasksWidget"/>
</widget-container>
<widget-container>
<widget name="AdminGroups" type="AdminGroupsWidget"/>
</widget-container>
</content>
</flow-layout-container>
</space>
<default-widgets>
<version-widget>D2-Base Versions</version-widget>
<relation-widget>D2-Base Relations</relation-widget>
<doclist-searchresults-widget>D2-Base Doclist</doclist-searchresults-widget>
<doclist-widget>D2-Base Doclist</doclist-widget>
<favorites-widget>D2-Base Favorites</favorites-widget>
<bravacsr-widget>D2-Base BravaCSR</bravacsr-widget>
<vdoc-widget>D2-Base Virtual Docs</vdoc-widget>
<tasks-widget>D2-Base Workflow-Tasks</tasks-widget>
<task-attachments-widget>D2-Base Workflow-Task Attachment</task-attachments-widget>
<all-workflows-widget>D2-Base Workflow-Workflow Overview-All</all-workflows-widget>
<my-workflows-widget>D2-Base Workflow-Workflow Overview-My</my-workflows-widget>
</default-widgets>
<settings>
<search-focus-header-enabled>true</search-focus-header-enabled>
</settings>
</root>0 -
Yes, the ReadOnlyPermissions view sample should be (or should have been if something is wrong) the comprehensive end-to-end example to include custom widget types. I have asked @Antony Nalkara and team to evaluation and get back to us on this. Most of the true features/functions were added to 23.4 but we patched as limited/pre-release in 23.2. We had a partner ask for this in 23.2 as a patch so it SHOULD be working as documented but let's make sure something wasn't missed on our end or your end just to be sure. Also if we identify something that could be clearer, we will look to make that update as well.
Thank you!
0 -
Thank you Michael, so I assume you will add another update to this soon. We will stay on hold.
If it helps, we are ready for a meeting any time this week.
0 -
The last 2 weeks of the year are spotty. I am not sure many in engineering are in (other than critical support and some light developers). We will see if I can pull anything together next week but let's expect after the first of the year. Sorry for the delay on this, we are just trying to prioritize high priority items and vacations/time off for end of December/1st of year.
@Antony Nalkara I am not sure of your vacation plans, etc. Do you have availability next week at all to review? If so send me an internal email and I will try to set something up with Jurgen?
@Jürgen Tebrün do you have the possibility of upgrading to 23.4 and testing the same? (just trying to see if can mitigate any patch problems in 23.2 in interim in case we cannot get a call until next year)
0 -
Thank you Michael,
let’s plan for the first 2024 week. We are off next week.
Best wishes and happy holidays.
Jürgen Tebrün0 -
Hi @Michael McCollough and happy new year,
we can consider upgrading to 23.4 but the SDK is currently not available.Are you able to provide a 23.4 SDK?
0 -
Hi @Jürgen Tebrün,
I have updated
GitHub website with 23.4 SDK download link details. Please check and let us know if anything.Regards,
Sunil Kumar Gollapinni0 -
Thank you Sunil, we will check and keep you updated.
Regards,
Jürgen Tebrün
0 -
Sorry for the delayed response (from me), I switched to the "New Outlook" and it defaulted to not showing my folder list where I file these too. I just caught it and saw this. 23.4 SDK has been out for a few weeks and on the download site.
Thank you for reporting our github documentation site was not up to date.
@Sunil Gollapinni I remember reviewing and approving the final update, please let me know if something is broken in process that needs to be fixed to ensure automation works.
0 -
@Michael McCollough - 23.4 D2SV SDK documentation was pushed into GitHub pages by 29th October and was present by then. Only the RELEASE DATE was not finalized/mentioned on the GitHub versions page. Currently, updating the release date on this page is a manual task, and we can discuss the following best practice to automate it, Thanks.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories