57
Views
8
Comments
Solved
[Multiple Selection Dropdown (ReactAndMob)] I can not install demo Multiple Selection Dropdown Widget
Application Type
Mobile

Hi Guys anyone can help me with this isue please. i can not install the demo Multiple Selection Dropdown Widget , i try the olders version with the same always have the same isue.

A problem has occurred while publishing the Application.

Error creating application 'Multiple Selection Dropdown Widget (Reactive And M': There's already an application with the same name. Done: No modules were published.

any idea?

The core component finished ok 

UserImage.jpg
Chris Stacey
Solution

Hi Andy,

I've release v1.6.2 in the forge.
- shortened project name

  (which changes the App and Demo name in Service Studio when downloaded from the Forge)
- removed login flow from demo
- no change to widget itself (but its App name will be different now!)

I've had to shorten the Project Name in the Forge, and I've removed the login flow from the Demo so people with slightly older Platforms are able to load it again (you will probably still need to refresh the dependencies after installing).

I suspect shortening the name will trick Service Studio into thinking this new version is an entirely different App. So you'll probably need to delete the old version.

Could you please try downloading v1.6.2 and let me know whether this solved the issue?

Many Thanks,
Chris.

UserImage.jpg
Chris Stacey

Hi Andy,

Thanks for reporting this.

I now know of three instances of this happening, all within the last couple of months. One of them on my work environment.

The clues I have are:

  • this has started recently
  • the platform's error message is
    Error creating application 'Multiple Selection Dropdown Widget (Reactive And M': There's already an application with the same name
    and the name given here is truncated to 50 characters.

I am beginning to suspect the names of these modules are being truncated to 50 characters when they are stored/compared somewhere in the platform. But obviously not where you create the names, and not previously.

This name truncation appears in other places in the platform too...

I have the same error when trying to install the demo into my environment at work.

I previously raised a ticket to OutSystems but was told that the environment needed updating (which I wasn't happy with at the time because it didn't strike true), but I couldn't update the environment and didn't have anything else to go on.

I will raise another support ticket with OutSystems. (could you raise one also Andy?)
Hopefully OutSystems can provide a reason for this, else I may have to rename the apps and see if that helps.


Could you please share the version of your environment? (here or via direct message)


In the mean time, here's a quick-start-guide I wrote for someone else having the same issue:
https://www.outsystems.com/forums/discussion/81359/using-multi-select-dropdown/#comment_Post339332

And to get a feel for the parameters, you can also play with almost all of the widget's parameters in the live demo:


Feel free to reach out with questions on the widget's usage.

I will update this post when I find out more.

Sincerely,
Chris.

UserImage.jpg
Chris Stacey

Another piece of the puzzle:

When the app (forge component) and demo are downloaded from the forge, they are inheriting their name and description from the forge, not from the app as it was before uploading to the forge.

Service Studio seems to have a limit of 50 characters per app name, however, the forge does not impose the same, if any, limit!

I can't be sure, but I'm fairly confident this is a recent change.
I believe they used to take the name and description from the app being uploaded.

From the beginning, I deliberately made the forge name longer so it was less ambiguous.
My prior downloading and testing of the app went without issue (downloading and testing on different servers than the one it was created on).
I may have to change the name in the forge.

Additionally, the forge appends " -Demo" to the demo app. Which leaves fewer characters for the app's name (component's name).


more to follow...

UserImage.jpg
Chris Stacey
Solution

Hi Andy,

I've release v1.6.2 in the forge.
- shortened project name

  (which changes the App and Demo name in Service Studio when downloaded from the Forge)
- removed login flow from demo
- no change to widget itself (but its App name will be different now!)

I've had to shorten the Project Name in the Forge, and I've removed the login flow from the Demo so people with slightly older Platforms are able to load it again (you will probably still need to refresh the dependencies after installing).

I suspect shortening the name will trick Service Studio into thinking this new version is an entirely different App. So you'll probably need to delete the old version.

Could you please try downloading v1.6.2 and let me know whether this solved the issue?

Many Thanks,
Chris.

UserImage.jpg
Andy_Oscky

The demo is okay now i can upload and activate it.

Thanks you very much!

UserImage.jpg
Andy_Oscky

Thanks very much i can use you widget, now i will make an ticket to outsystems . 

UserImage.jpg
Chris Stacey

I'm glad! That would be terrific Andy, Thank-you!

UserImage.jpg
Andy_Oscky

Hi Chris i am testing your last version , is working fine. Thanks you very much

UserImage.jpg
Chris Stacey

So glad! 👍😀

Thank you for the feedback too!

Wishing you happy coding,
Chris

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.