Custom Ribbon Tab Not Appearing in v2.4

Discussions related to SoftPro Select user interface development.

Moderator: Phil Barton

Post Reply
czentman
Posts: 157
Joined: Tue Dec 02, 2008 12:02 pm

Custom Ribbon Tab Not Appearing in v2.4

Post by czentman »

I have a package that creates a custom ribbon tab. I worked in 2.2, 2.3 and I was able to get it registered in 2.4 but the ribbon tab is not getting created. Here's the select.log. I see the custom package '4b3569a6-575c-432a-874e-3c6921ff2e12' gets successfully loaded bot the ribbon does get created?

[11:21:53.160] [0x00000001] Creating configuration file: I:\Documents and Settings\czentman\Application Data\SoftPro\Select\2.4\Select.user.config
[11:21:53.270] [0x00000001] Loading auto load packages..
[11:21:55.113] [0x00000001] Attempting to load package '20bf2041-5b88-45a5-8ade-5dd2b99059af'.
[11:21:55.129] [0x00000001] Initializing package.
[11:21:55.129] [0x00000001] Successfully loaded package.
[11:21:55.129] [0x00000001] Attempting to load package '62a12659-3a5b-446e-b76d-7466251e084c'.
[11:21:55.145] [0x00000001] Initializing package.
[11:21:55.145] [0x00000001] Successfully loaded package.
[11:21:55.145] [0x00000001] Attempting to load package 'e75779a5-6216-499b-bb66-54220ffba697'.
[11:21:55.160] [0x00000001] Initializing package.
[11:21:55.160] [0x00000001] Successfully loaded package.
[11:21:55.160] [0x00000001] Attempting to load package '06a2ae78-dc27-45e4-aafe-2e1d82573c5d'.
[11:21:55.160] [0x00000001] Initializing package.
[11:21:55.160] [0x00000001] Successfully loaded package.
[11:21:55.160] [0x00000001] Attempting to load package '43e2e917-6b87-45bd-91fc-d330d02e9a94'.
[11:21:55.160] [0x00000001] Initializing package.
[11:21:55.160] [0x00000001] Successfully loaded package.
[11:21:55.160] [0x00000001] Validating package license for '4b3569a6-575c-432a-874e-3c6921ff2e12'.
[11:21:55.192] [0x00000001] Attempting to load package '4b3569a6-575c-432a-874e-3c6921ff2e12'.
[11:21:55.192] [0x00000001] Initializing package.
[11:21:55.192] [0x00000001] Successfully loaded package.
[11:21:55.192] [0x00000001] Finished loading auto load packages.
[11:21:56.801] [0x00000001] Creating ribbon tab chunks for f436331e-3d02-4b9b-af76-fc878517bcf9 : 1001.
[11:21:56.817] [0x00000001] Creating ribbon tab chunks for 2b8f0936-6079-4955-ab57-80eb091d5071 : 1001.
[11:21:56.817] [0x00000001] Creating ribbon tab chunks for e098bcdb-679e-4d27-8a48-1bdc197459e3 : 1001.
[11:21:56.817] [0x00000001] Creating ribbon tab chunks for 12fe4bb1-1d40-47fc-bbcf-901ac5e5d599 : 1000.
[11:21:56.817] [0x00000001] Creating ribbon tab chunks for 3c2a5fbe-1ae3-4ba5-be16-88abbb30a0cf : 1000.
[11:21:56.817] [0x00000001] Restoring user layout.
[11:22:06.239] [0x00000001] Invoking command fb696879-7a08-4ef9-acbf-690a2fbbf4ba : 12320.
[11:22:06.567] [0x00000001] Command fb696879-7a08-4ef9-acbf-690a2fbbf4ba : 12320 completed.
[11:22:06.645] [0x00000001] Saving user layout.
[11:22:06.707] [0x00000001] *** End of Log ***
Hadi Chemaly

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by Hadi Chemaly »

Here are few things to look out for when upgrading Select versions as far a package development is concerned:
  1. You are required to recompile your package using the Select SDK version matching your Select Client version installed.
  2. Ensure you environment is clean, notably your Select registry key that might contain remnant package entries.
  3. Ensure the priority attributes of your elements (ribbons, groups, buttons, etc.) still have distinct values from the elements in Select.cts to avoid element overlapping.
You can check out this forum entry for a similar problem reported.

Have you tried running your package in the Select experimental hive? Note that, if you have started off using the SoftPro Package Visual Studio template, all you need to do is hit F5, and the project will take care of registering your package in the exp hive. I suggest you get this running before you start deploying your package to regular hives.

Let me know if any of these tips fix your problem.
czentman
Posts: 157
Joined: Tue Dec 02, 2008 12:02 pm

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by czentman »

We didn't have the SDK, then we got Paul Byron to send the SDK and I installed it, then the ribbon did show up but now I'm getting another error on the getservice line - "lookups As Lookups = sps.GetService(Of Lookups)()" is where the error comes up and the error is "Failed to communicate with the server. Check your network settings and ensure the server is running." Do we another part installed? For the other versions of select I see a server and client install setup on our server and for this one, I only see a client and services folder for setup. Can you help?
Hadi Chemaly

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by Hadi Chemaly »

Check out this thread, I suspect you are using an outdated Select Server address format.
czentman
Posts: 157
Joined: Tue Dec 02, 2008 12:02 pm

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by czentman »

I tried taking out /SelectServer and I'm having the same error, cannot connect to server. How do I know if it's the right server name? Maybe it was installed to a different one, or not updated?
Hadi Chemaly

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by Hadi Chemaly »

You can see the list of all installed Select Servers via the SoftPro Select Services console.
czentman
Posts: 157
Joined: Tue Dec 02, 2008 12:02 pm

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by czentman »

Where is the SoftPro Select Services console?
czentman
Posts: 157
Joined: Tue Dec 02, 2008 12:02 pm

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by czentman »

I found it but I'm not sure exactly how to reference it.
czentman
Posts: 157
Joined: Tue Dec 02, 2008 12:02 pm

Re: Custom Ribbon Tab Not Appearing in v2.4

Post by czentman »

I got it! Thanks alot!
Post Reply