Page 1 of 1

New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Sat Mar 09, 2024 12:43 pm
by meltdown03
I have a community license and have all updates for 9.2-2, however 2 recently released Layered Products are not available for me to download:
  • X86VMS-TDMS-V0202-1
  • X86VMS-VDD-V0001
Is this just a restriction of the community licensing?

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Sat Mar 09, 2024 10:23 pm
by roberbrooks
They are posted for a specific customer to do some testing.

They are not remotely close to even a beta test release.

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Sun Mar 10, 2024 6:50 am
by hb
To me, this looks like suboptimal behavior of the Service Platform software. If you do not have access to the package, it usually makes no sense to show it in the list. Or there should be a configuration option to show all packages, even the ones you cannot download. There is probably more a user would want to configure to always see the package list the way he wants/expects it.

But hey, you can write some JavaScript to filter the output and click some buttons before your browser displays the page.

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Sun Mar 10, 2024 9:19 am
by cct
There is a tick box to select only available packages

Chris

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Sun Mar 10, 2024 5:03 pm
by hb
After a couple of 504s ...

I'm not a JavaScript developer, so there may be better ways to implement this. Some code may not even be necessary. The script was developed for Firefox and for me it works as expected. Feel free to change it for whatever you need.

manifest.json:

Code: Select all

{

  "manifest_version": 2,
  "name": "package-list",
  "version": "1.0",

  "content_scripts": [
    {
      "matches": ["https://sp.vmssoftware.com/*"],
      "js": ["packages.js"]
    }
  ]

}
packages.js:

Code: Select all

/*
 * This JavaScript "clicks" twice on the "Release Date" column to make
 * the most recent released package to appear at the top.
 * And it clicks on the "Only accessible" check box if it is unchecked.
 */

var sortDone = 0;

function sortReleaseDate (node) {
  if (node.URL!="https://sp.vmssoftware.com/#/packages") {
    sortDone = 0;
  }
  if (sortDone==0) {
    var e = document.getElementsByClassName("sp-table-column-title");
    for (let i=0; i<e.length; i++) {
      if (e[i].innerHTML=="<span>Release date</span>") {
        e[i].parentElement.parentElement.parentElement.click();
        e[i].parentElement.parentElement.parentElement.click();
        sortDone = 1;
        break;
      }    
    }
    e = document.getElementsByClassName("ant-checkbox-input");
    for (let i=0; i<e.length; i++) {
      var checkboxDone = 0;
      console.log(e[i].checked);
      var l = e[i].labels;
      for (let j=0; j<l.length; j++) {
        console.log(l[j].innerText);
        if (l[j].innerText=="Only accessible") {
          if (!e[i].checked) {
            e[i].click();
          }
          checkboxDone = 1;
          break;
        }
      }
      if (checkboxDone==1) {
        break;
      }
    }
  }
}

sortReleaseDate (document.body);

const observer = new MutationObserver((mutations) => {
  mutations.forEach((mutation) => {
    if (mutation.addedNodes && mutation.addedNodes.length > 0) {
      sortReleaseDate(document);
    }
  });
});

observer.observe(document.body, {
  childList: true,
  subtree: true
});

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Sun Mar 10, 2024 10:56 pm
by meltdown03
roberbrooks wrote:
Sat Mar 09, 2024 10:23 pm
They are posted for a specific customer to do some testing.

They are not remotely close to even a beta test release.
Ok, thank You!

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Thu Mar 14, 2024 9:02 am
by whcox53
It looks like they solved the problem by removing the ability to see downloads that are not accessible. And the tick box is gone as well.

bill

Re: New X86 Layered Products not available to download: TDMS and VDD (9.2-2)

Posted: Thu Mar 14, 2024 1:25 pm
by sms

Code: Select all

> It looks like they solved the problem by removing the ability to see
> downloads that are not accessible. And the tick box is gone as well.

   Not an improvement, I'd say.  For example, now, with only "No
packages to show", I can't see how many RTL updates behind I am:

      https://forum.vmssoftware.com/viewtopic.php?f=13&t=8945#p20267
      
   It's hard to please everyone, but pleasing me would be good enough.