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

[Forums] Change default locale

$
0
0

[Forums] User keeps getting all roles?

$
0
0

It *seems* to be fixed now, by removing the "SuperUser" role from that user. Thanks!

J.Ja

[Forums] Data Synchronization Exercise "problem"

$
0
0

Hi,

Any help would be appreciated. I'm just stuck at the "Data Synchronization Exercise".
I was trying to test the offline saving capabilities, and i keep getting this error: "Request failed with an error".

TrueChange says the module is valid.

I'm attaching my ToDo module. If anyone could give me a hint.

Thank you!

[Forums] Data Synchronization Exercise "problem"

$
0
0

Hi Mattia,

Can you try to attach the module again? It is uploading the module for 10 minutes..

[Forums] Multiple HTTPRequestHandler AddFaviconTag

$
0
0

Tiago Neves wrote:

You cannot remove a favicon, you must set it to something different. 

Are you referring to the site root /favicon.ico? I don't think there is one configured there, or if there is the server is configured to not serve it (HTTP 403).

Or are you talking about the link element with rel="shortcut icon" in the head? It seems there should be a way to have the code remove elements from the html before sending it.

Usually what happens is that you will have a favicon for the theme and maybe you use a different one for each Module (eSpace), use the Resources for this, or you use that AddFavicon if you want to set a special one for a page.

I believe this is pretty close to what I'm dealing with. I added a module/espace specific favicon as an image and then referenced it from an espace shared web block. The trouble is that web block is built on a site common web block that also sets the favicon and I'm not confident which one the browser takes, the first or the last. It would seem better to be able to remove the site-wide one when processing the page from the espace than to leave it up to chance or ordering.

I didn't put it in the Menu block but otherwise the steps on this page are pretty close to what I've done: https://success.outsystems.com/Documentation/Development_FAQs/How_to_set_a_favicon_tag

Thank you,

Jacob

[Forums] Multiple HTTPRequestHandler AddFaviconTag

$
0
0

João Rosado wrote:

Why don't you add some optional input to the blocks that you need to control the behavior? Even though its a shared block you should be able to pass it a variable saying that you don't want it to add the icon.

This is probably the best solution if there isn't a way to remove html or replace existing html instead of just inserting more html via HTTPRequestHandler. I was hoping for a module-specific override that didn't depend on coordination for places where it takes a while to get some modules updated.

(Also be careful when testing it, browsers are pretty aggressive in the icon caching and it may mess up your tests)

Good point, I might have already been caught by this in some of my testing. I'll double check with one of the online favicon testing services.

Thank you,

Jacob

[Forums] Prepend all page titles with eSpace or other name

$
0
0

Hi Tiago,

I wasn't sure how it would work. I was hoping it would replace the existing tile because the HTML spec says there should only be one, but after testing with the favicon rel tag I was expecting that the HTTPRequestHandler would just add new ones. I should have just tested.

If I set the Title property on a Web Screen to Screen, this is what is in the head:

<title>
  Screen
</title>

If I call SetPageTitle with Title="ScreenPrep" from that same Web Screen's Preparation, and if I also call SetPageTitle with Title="BlockPrep" from a web block included by that WebScreen (it's my common layout Web Block) then this is what is in the head:

<title>ScreenPrep</title><title>BlockPrep</title>

The page title in IE and Chrome is ScreenPrep, the first title element. I find it interesting that the Web Screen Title propoerty is somehow suppressed or replaced on the output. If it is replaced, I wonder why the second call to SetPageTitle doesn't replace the first call's output.


Either way, what I really want is a way to get the page's page title, set via the Web Screen Title property, the OutSystems' generated value if the Title property is blank, or set via SetPageTitle in the Web Screen preparation and in the common layout web block concatenate that value with a common value like MySiteName + ExistingTitleValue.

Is there a way to get the page's Title property? To get the OutSystems generated Title if one isn't set, or to read and replace the existing title element if one exists?

I haven't found it. I think for now I will just go set the Title property to the desired concatenated value on all of my web screens.

[Forums] OutSystems Cloud using Docker containers

$
0
0

Hi Simon,


Yes, this is a trend that is picking some interest in the market and an active subject of investigation at OutSystems. We are eager to share experiences with customers, to understand the best fit between OutSystems and containers technology.


Feel free to send me a Direct Message to schedule a further discussion.


Regards,


Joao


[Forums] Android can't fetch image from url

$
0
0

Uhm, do you know why they're not being fetched? Any errors on the console?

It would be great if we can simulate that, but I'm being unable to replicate it. I can remember of 2 possible workarounds:

  • You can wrap it under a rest - The URL will point to a rest exposed by your module, and inside the rest you use a HTTPRequestHandler.RequestSubmit() and assign the binary data returned by the method to an output parameter.
  • You use the HTTPRequestHandler.RequestSubmit() and convert the returning binary to base64, on the iconURL parameter you pass it like below:
    • MapMarker.IconURL = "data:image/png;base64,"+convertedbase64

They're not gonna be the more performant workarounds (counting that they'll work), but unless you figure it out the reason why it's not loading the icon, I can't remember any others alternatives

Hope it helps 

[Forums] Error parsing Response date

$
0
0

When I used the Version 1.1.6 of the connector I started getting.

Failed to parse response of the method 'FilesList' of the 'GoogleDrive' REST API: The value '2017-05-24T16:23:15.570Z' is not valid for Date.

If I change the structure attributes from datetime and date to text I'm able to fetch the files.

[Forums] Data Synchronization Exercise "problem"

[Forums] How to use Cell_WriteByIndexWithFormat

$
0
0

Hi, I am struggling with the same problem. Any solutions available?

[Forums] Barcode Scanner not scanning the barcode correctly

$
0
0

Hello


I installed the Barcode Scanner Plugin (http://www.outsystems.com/forge/component/1403/barcode-plugin/)  and I tried to use it my app. 

I could implement it and I can actually use it to scan bar codes but the bar code result that it returns is seldom accurate. It often gets a few of the digits on the barcode incorrect, which means that is actually quite useless.

I would like to know if I am the only one having this issue and any recommendations on how to fix it will be great.


I also tried the Barcode Scanner Plugin posted on the forge. That component is working perfectly and is 100% accurate in its results but every once in a while it returns an error "cannot set property value of undefined" which I also don't know how to solve so I cannot use that one either.


I am not a java script expert so I dont know how to fix the scripts.


Any other suggestions?


Thanks!

[Forums] epub in version 10

$
0
0

Grace Mignon wrote:

i tried it but have error not found directory. 

the error like this "kline-port-of-peril.epub_ZRKgtKi_Eju3X5CjI49uwg?ZRKgtKi_Eju3X5CjI49uwg' with status: Not Found".

my file which i added in resource is kline-port-of-peril.epub.


Grace, I also want to be able to display in Version 10 the epub file format for ebooks. Did you figure out how to do that?

[Forums] Google Maps Plugin Cordova

$
0
0

I am having the same issue as Roeland. Any ideas?


[Forums] Google Maps Mobile multiple markers

$
0
0

Thanks a lot Henrique, another challenge for you, i want inside the Info Window add a button to link to another page and that page has a id as a input parameter, i know that a just have to put on the html a button and etc but where in the html i add the parameter or something like that... Did you get? I already know how to get the id i just need a button inside the info window to link to the other page passing the id...

[Forums] Silk UI Video widget for Mobile is not playing MOV files on IOS devices

$
0
0

Hi, 

I have a mobile app with the requirement to capture the video and playing the video using  Silk UI Video widget (from Platform v10).

In order to do that,I am using the 'Upload widget' to record the video and saving the file in device's offline storage using 'File Plugin'  SaveFile() action. And then using the GetFileURL() action I was able to get a URL of the video file which is bound to the  Silk UI Video widget.

When I try this on an Android device, the recorded video is in '.MP4' format so no issues in playing this video. But when I try the same on an IPad then the recorded video is in '.MOV' format so it is unable to play using  Silk UI Video widget.

Is this a known issue? Is there any other player to play this video (.MOV) on IOS devices?

Or else is there any way to convert this video from .MOV to .MP4 format (in OutSystems)?


Thanks

[Forums] How to return a value with variable entity attribute or add matrix arrays?

$
0
0

Hoping someone can help.


I'm looking to create a zoning structure that is based on postcodes. So in my app I will have ~16000 suburbs that will have a zone attached to it. So I would intend to set the 16000 suburbs up as records in a structure, then I would probably set up new attributes for each companies zoning.


So what I need to do is pull a value based a variable attribute. How is this possible?

or

is there another way to add matrix arrays to outsystems (i can't see anywhere). If i were to put it into a excel example I would make my array based on 16000 rows and 3,4,5,6,7... columns based on how many different companies I had in my system (this will grow over time), then do a combination HLOOKUP, VLOOKUP to search through the array. Is there a way to replicate a similar idea in outsystems? 

[Forums] 4 layer Architecture and sample apps

$
0
0

I once found an example named HeadOfficeContactManagement.

But I don't remember download link.

Does anyone know anything about it?


Thanks

[Forums] How to use onesignal API send push notification to all

Viewing all 1476385 articles
Browse latest View live


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