We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Custom Archives in G9

Hello,

I have actually a problem with Custom Archive in G9.

I am updating a customer project including a custom archive for contact extra table from 8.2 R6 to 9.1 R2.
After changing .Net Framework and updating references in project I get the data presented in 9.1, but it looks "old":

This is the new look (SO tab):

If I click the mouse right button on the header, I get the "old" menu:

and the fields list is empty:

 

That is the new look of menu I expected (here from "person" SO tab):

I changed the type of view from "SOView" to "SCILView" in my merge file like in SOContactPanel.config, but it did not helped.
If I try to replace the section "controlgroup"

with "recipe" like in SOContactPanel.config, I get no data more.

 

Where I am wrong?
What can I do to make my custom archive working properly?

Andrey

 

RE: Custom Archives in G9

Hi Andrey!

We do not have a good story for custom archives with the new look and feel yet, so please revert back to SOView...

You will notice that new archive config elements reference a recipe, and this is not backwards compatible with what is placed in an SOView. 

<view id="projectMemberScilArchive" type="SCILView" soprotocol="projectmemberarchive" 
      current="" overflow="auto">
  <!-- ... -->

  <config>
    <recipe>ProjectMemberArchive</recipe>
  </config>

  <!-- ... -->
</view>

When you reset your archive control back to SoView, does your configure columns work then? If not, the open up the SoArchiveColumnList.config and compare it to columns defined for other archive controls.

I have scheduled a workshop to try and figure out if there is a way you can adapt to receipe-driven archive controls. I'll followup with our results here by Friday.

Best regards.

 

By: Tony Yates 23 Sep 2020

RE: Custom Archives in G9

Hopefully a solution will be made available to be able to update custom archives in G9 to use the new functionality, we use them a lot at OnSite customers.

By: David Hollegien 23 Sep 2020

RE: Custom Archives in G9

Hi Tony!

Thank you for answering my question.

After changing back to SOView I still miss the fields in the configuration window.

I can't detect any difference to SOArchiveColumnList.config in my column list definition:

It would be great if you could help us to find a workable solution for column definitions.

Best regards,
Andrey

By: Andrey Stupak 24 Sep 2020

RE: Custom Archives in G9

Hi!

The web team and I walked through this today. We were able to take an existing archive provider and successfully create a new, albeit older-style, tab using SoView with unique and functional configure columns. 

I suspect that you may have altered additional required elements that crippled the experience. I'm not going to repeat all of what you should check as that is in the documentation, and still relevant.

In terms of getting the G9 look. Well, let's just say that even we have some more work to do ourselves. 

Case in point - Mincard menu: Selection members

We will add borders and get the old archive controls to look like the newer ones, but the configure /sort columns functionality will have to wait until 9.3.

Best regards.

 

By: Tony Yates 24 Sep 2020

RE: Custom Archives in G9

Hello Tony,

we checked double all the .merge files and the .NET project with Georg together, and couldn't find any difference to the documentation you linked.
It had worked in the old version 8.2 R6.
I copied the old .merge files from SO 8.2 R6 over the new to eliminate my changes if these were still there.

Still no fields in the configuration. We get no error in the browser console too.

Is there any more option to get a debug information from the process of getting configuration fields for that window like .log file or debug window?
We will be very grateful for any help.

Andrey

 

By: Andrey Stupak 2 Oct 2020