Hello everyone,I am currently trying to implement LazySearch in one of my projects. I have a few problems understanding it. The 'Try now' example contains exactly what I want to build. Would it be possible to get the .oml that is attached to the 'Try now' so that I have an example to guide me?Thanks in advance!GreetingsLissy
Hello
If you go to the component and click on the arrow just after the download button you will get the option - https://www.outsystems.com/forge/component-overview/9513/lazysearch
And if you go to Forge Tab from Service Studio and open this component the you will find this install demo button
I hope this helps
Best RegardsTousif Khan
Go to the component page and click download asset and demo it will download all that you need plugin and demo.
The oml is inside the oap, you should install the oap and check the code using service studio.
@Tousif Khan and @João Inácio Thanks for your fast reply!I tried to import it like you described. Unfortunatly I always get the following error:
I already tried to increase the Timeout from 60 to 600 seconds. But it still doesn't work. Do you have any ideas?
I see this is not a personal env, Do you have a permission to perform this action?Check this with your IT team.
It can also be an issue with the internet connection speed may be fluctuating, Are you getting this error upon download only or just when you try to install a component.
Is this happening with this component or on others also.
ThanksTousif Khan
It happend every time I wanted to open the .oap file.
However, I have found another way to open the demo by only opening the oml in service studio (https://www.outsystems.com/forums/discussion/73988/how-to-get-file-oml-from-oap-file/#Post303404).
Now I will go through it step by step to find my mistake.
Thanks a lot for your support!!
What occurs to me, is that you may have some issues on that environment, so you need to report them.
Meanwhile there's an alternative you can try:
Now I am dealing with another error:
addFixedAttribute is not defined!
This error comes up with the Demo and with my own project when using the LazySearch in the browser. The component works like expected but the error still appears.
Can anyone tell me why this error occurs?
I have checked the code there is a JS defined on a On Render action, where I see this function is called, I did checked the other Js code as well as the scrip defined at the module level but I don't see any where this function is defined.
I guess @João Inácio can help us more on this, as being a team member on this component I guess he might have Idea on this.
I did not find occurrences of addFixedAttribute
@Tousif Khan which component are you are using
This is what I am referring to :
Anyways I tried removing this function and then I don't see any error. Not sure if it will impact other functionality.
This component was built by the time Outsystems UI did not have anything similar, recent versions have, maybe you can give it a try.
Hello again,
@Tousif Khan I have tried to follow your suggestions but there is no 'On Render' Action in the Preferences of the LazyDropdownTags in the demo. I tried to search for the 'addFixedAttribute' with Ctrl+F in the module but it could not be found.
My LazyDropdownTags block looks like the following (it does not have the 'On Render' action):
I attachted the .oml I downloaded and and which causes the error.
I've uploaded a new version, @Tousif Khan give it a try
@Tousif Khan Have you been able to test the new version? Are there any news about it?