Quantcast
Channel: OutSystems Community
Viewing all 1476385 articles
Browse latest View live

[Forums] Dependencies issue

$
0
0

Amit Verma 


Thank you it worked !


But i have one more question just to be clear.

What is the purpose of the below condition set at level layout.


SyntaxEditor Code Snippet

"InWebBlockPreview"="True"

elie elias wrote:

Dear Support team,

 

I am writing this email in order to get a clear feedback concerning an issue that happened with us earlier this week.

 

We have created an application using Top Menu template, which has by default dependencies from OutSystemsUIWeb.

Then I needed another component that exists in WebPatterns.

 

Apparently, the two modules contains under UI flows a section named “Content”.

So when we got two components from the two different modules, at runtime the load of some scripts failed (in our case SilkUI.js,SilkUiCommon.js).

When inspecting the page at runtime and error pops into the console (“SilkUI is not defined”).

 

We have figured a temporary solution, using another working application we have copied the JavaScript mentioned above and paste them into the JavaScript property at level module.

 

Is it related to using dependencies from different modules or what ?

 

Is that a viable solution ,what is the alternative clean way to solve this issue?

 

 

Please find attached the error.

Hi elie elias,

Please find the attached modified OML file.

The problem was that you were using a custom layout without some of Silk UI requirements.

You can create your own layout, but you need to have the WidgetsForLayout pattern on the layout, and also you need to have a container enclosing everything with a specific set of classes:


Hope this will help :)

Thanks,

Amit






[Forums] how to create a list records with no line separator in the reactive web app?

$
0
0

You'd need to check what causes the line, whether it's the tr or the td. If it's the tr, you could override the "table-row" class, if it's the td you need to select for the right attribute ([data-header] in case of the header, I don't know what the others have).

[Forums] Dependencies issue

$
0
0

Hi Elie,

I think it's a bad idea to mix Silk UI and Outsystems UI in the same app. Which component from Silk UI were you not able to find in Outsystems UI?

[Forums] Using Google Maps by Address field?

$
0
0

glenn michiels wrote:

ankit raj wrote:

HI, I am trying to use google maps in my web app to display an address.The lat long works perfectly but when i send "cityname, statename, countryname", it doesn't show any result. 

So,Address Map =>works perfect (takes lat and long)

Maps=> doesnt work.

Hi Ankit,

If I'm reading your question correctly you'd like to give in an adress and have it show on a google map?


Yes. When i use the Address Map feature, i get the map rendered with the pinpoint address because it accepts lat and long.

But i want the normal map feature which takes address as a string. 


[Forums] User table Structure giving an error while querying

$
0
0

I would use the listclear and listappend instead of the assign to fill your structure.

[Forums] Service Center Solutions

$
0
0

Hi,

I am not sure if this is covered but you can use solutions to have a snapshot of groups of applications. For example.

  • ProducerA v199
  • ConsumerA v210
  • ConsumerB v215

Not really that useful but you can use it to rollback/publish in one go. Just be careful to do the rollback as intended. 

:)

[Forums] How to put a non-breaking space in a text widget (web app)?

$
0
0

Hi Alexander,

The entity name  should work.

Regards,

Daniel

[Forums] How to put a non-breaking space in a text widget (web app)?

$
0
0

How to put a non-breaking space in a text widget (web app)?

Tried using HTML entity -- did not work.


[Forums] Can I open a screen inside a screen?

$
0
0

Hi!
A another option is an iFrame or use a web block.  

[Forums] New Theme Editor Available in Service Studio Beta

[Forums] New Theme Editor Available in Service Studio Beta

$
0
0

Awesome feature to have. Great work!

[Forums] Reactive Web: The Next Generation of Web Apps

$
0
0

Tiago Simões wrote:

Juan Carlos Elorde wrote:

Coming from OS 8/9 and no experience with Native Mobile, just found it surprising that I can't drag and drop entities to a UI Flow and automatically create my list and edit pages. Not really and issue just a change in how to do things.

And I agree that it is very good and fast. Great job OutSystems!

Dragging entities to flows to create screens is something we are currently working on and it should be available soon.


Thanks for the information Tiago. I thought at first that this is how we do things now or there is like a design reason why OS need it that way.


[Forums] How to add an icon to a Button in OS11

$
0
0

Hi Elize,

First, are you trying to use an "OutSystems" Icon (Fontawesome) or an ICO/PNG/etc?

Notice that the INPUT of type submit does not accept images (this is not an OutSystems problem).
If you want to add a Fontawesome icon (that is in fact text, not image),  you can try to use this kind of approach:

1. Give some space in the Label of the button

2. Add a div with a specific class (e.g.: myclass) around the button

3. Apply some CSS (e.g):


div.myclass:after {
   font-family: FontAwesome;
   content: "\f004";
   font-size: 13px;
   position: absolute;
   right: 11px;
   top: 0px;
   color: white;
   pointer-events: none;
}

 

It is not simple "adding an icon", but it works.

Hope this helps.

[Forums] Can I open a screen inside a screen?

$
0
0

You are right Eduardo. Thank you for pointing that out.

I proposed a modal because it seemed to me that the question asked was how to make it look like opening a screen inside a screen. A modal is a way to do that.

But of course using a popup you will actually open a screen inside a screen.

[Forums] How to create a CreateOrUpdate action when two or more tables have relationship?

$
0
0

Hi, 

1. You need first do the CreateOrUpdateEmpresa for the Empresa entity. 

2. After this in the logic, you need to assign the returned Id from the CreateOrUpdateEmpresa to the record of the Cliente entity, and then do the CreateOrUpdateCliente action, as this last one is an extension of the first, and so it needs the ID of the first as its own ID.

3. Than you can execute the CreateOrUpdateContato, as you need the returned ID from the CreateOrUpdateEmpresa as source to the EmpresaId foreign key in the Contato record.

Hope this helps

Cheers


[Forums] Detect Swipe up on the app's preview to close the app

$
0
0

Junaid

Thanks for your replay but I am trying to catch when user want to close de app using standard iOS procedure making a swipe from bottom to up.

It is no related to move from one screen to another.

Best Regards

[Forums] How to add an icon to a Button in OS11

$
0
0

I have had this same problem ever since I started OutSystems and yet there is no progress towards solving this. I have also seen many times this question come up and no resolution.

I need to add an icon to a button. A button in OutSystems is an <input> of type="submit" with its value the text that will appear on the Button.

Please note I cannot use a link in this case. I already in the past have used a link with an icon enclosed which I style as Button. In this case I cannot use a link because I have several forms on one page; for example one for addresses one for contact numbers etc, on each form there is a save button. If I use a link then ALL the forms on the page are validated and then I get "required!" message on forms for which I did not click the "save". If I use a Button widget this works correctly, only the form on which the Save Button was clicked is validated. I tried adding type="submitted" attribute to the links but it does not help. So I am stuck with absolutely having to use the Button widget, and I absolutely have to add an icon.

Unfortunately I cannot analyze OutSystems code behind the scenes to see how I can get the same behaviour on a link as on a Button, but there obviously is a difference.

All posts I read regarding this issue did not one offer a solution, but they are old and I am wondering if perhaps in OS11 OutSystems has provided a solution for this.

[Forums] Can I open a screen inside a screen?

$
0
0

Just to clarify, Modals do not open screens inside screens. A Modal is just a kind of container that acts like if it was a Popup, but its content is in the same page where it opens.

Modal (only for traditional web applications): https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Web_Patterns/Content/Modal

A Popup is able to open a screen inside a screen (React Web and Mobile + Traditional Web): https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Create_and_Use_a_Popup

Hope this helps.

Cheers.

[Forums] Not rendering on safari for mac

$
0
0

Thank you very much Eduardo.

Let me know if I can help in any way.

[Forums] How to create a CreateOrUpdate action when two or more tables have relationship?

$
0
0

How to create a CreateOrUpdate action when two or more tables have relationship?

We have three tables [1,2,3] and they're connected via a common Identifier. Two of them have a shared identifier [1,2] and one of them only have a connection to the other table [inheritance].

We're having trouble to create a CreateOrUpdate it seems not to work at all.

Thanks for the help.

Viewing all 1476385 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>