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

[Forums] Google Maps Mobile multiple markers

$
0
0

Henrique Batista wrote:

Hi Vinicius,

"I have stores that have locations and with their location i created markers on my map, i just want when i click on the marker to show the information about the store that is on the position of the marker clicked..."

Take a look on this post, Carlos posted there an example if the explanation isn't enough. I think you'll be able to get the marker click working.

About the content over the google maps map, you can achieve it 2 ways:

  • CSS - You put the containers with the desired classes that implement the position:absolute/fixed desired.
  • You have a block on the Silk UI mobile that is called floating content that does the trick, you just need to choose where you want the information and for transparent background, just add the following code:
    /* Floating Content */
    .floating-content {
        background-color: transparent;
    }

Hope it helps :)

Works now! but i added a extra "z-index: 100;" to the class; (100 because the left app-menu z-index is 170).



[Forums] Upload/Download files

$
0
0

Hi

Is it possible to do upload file action in table records? I tried but fail to get the file... 

Does anyone has any idea?

Thanks.

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

$
0
0

Hi Talis,

Instead of an array, you can use a static entity for the zipcodes/suburbs and use a table that has the company specific data per company. (id, zipcodeid, companyid, field1, field2, fieldN)

Kind regards,

Remco Dekkinga

[Forums] Change default locale

$
0
0

António Pereira wrote:

Hi Yasser,

As far as I know, it is not possible to set the default locale at design time (in the ServiceStudio).

There is (or at least there used to be) a way to "swap out" the language that an eSpace was written into a separate locale, while pulling in another of the languages into the module via some command line option.

I wonder if that is still there, and it it implicitly changes the default locale when the module loads?


Miguel


[Ideas] Allow to set binary data in Static entities

$
0
0

As stated by Justin James here, "Service Studio allows you to create a Static Entity with binary data as its type, but not to set the value".

I don't understand if it is a real bug or a missing feature, but in my opinion it should be implemented.

[Forums] Integrate OutSystems with source control.

$
0
0

Hello Janis,


Typical use cases for integration with third-party source control systems include:

- keeping up with internal regulations that mandate all developments to be stored in the third-party source control;

- take advantage of integration between the source control system and change management or project management capabilities: by storing all OutSystems versions in the source control system, you can annotate each version with the change request or project task or user story that it applies to.

In both cases, the integration consists of polling OutSystems for new module versions using the Lifetime API and storing the versions in the source control system.

OutSystems models are stored in binary files, and thus third-party source control systems are not capable of understanding its structure. Thus, you should continue to do merge operations using OutSystems tools.

I hope this helps.

Joao


[Forums] Acessing endpoints from personal cloud

$
0
0

Good morning,

i've run into a bit of a snag, and maybe you guys can give me some more insight into it.

i currently have a personal environment in the outsystems cloud which i'm using to learn and run some tests. Now my company has an API which i should be able to call on, to return some information in JSON format. Since the API itself requires a kind of token generation for security reasons, i had to make some c# code and integrate it, creating an action which generates the token, makes the call to the server and in the output, there should be the JSON i want. Since the token itself takes the IP of the client into account, i access a third party website (http://icanhazip.com/) which returns the IP, with which then i create the token and perform the request. *Edit: the 3rd party access works perfectly, seems that the service is really the problem.

 Now i have put audits in my application to see what's going wrong because all i get, all the time, is connection timeout. i have considered that i made the integration wrong but if i assign a hardcoded JSON to the string that i'm actually returning, then i get the response so it's working as expected.

The problem seems to be either in the access of this third party, or in the access to the service itself. In any case, it seems, that maybe the cloud can't reach these endpoints for some reason. is there any constraint on the outsytems side, specifically on personal clouds, that would restrict access to websites or services?


i was also warned that the request IP, which the server then checks for security, could be under a subnet, which would make the IP that i generate on the client side and the one seen at server side different. if this is the case, how do you suggest i fix this? (removing the IP verification is not a possibility here).


Thanks in Advance and Best Regards,

Bruno Gonçalves

[Forums] Different app ids for production mode

$
0
0

Hi,

We need to use different application id for developments and production modes. How is it possible to detect on which environment we are and use proper app id (as application bundle ids for dev and prod applications are different)?

Thank you. 


[Forums] external site to facebook and then stuck on fb page

$
0
0

António Pereira wrote:

Hi Mark,

Based on what is written, "Use the Open client action in order to open the given URL. The provided URL must contain http or https scheme"

Do you find the client action?



yes i have i made an on click , and then first let it check if the inappbrowser is available. then i let it open the in app browser.  in what way am i supposed to put the URL in the open browser action. it's not the same as in the external URL. sorry for the many questions i just started with this and i really want to learn! thanks for ur assistance.



Greetings 


Mark

[Forums] [WEB] get value and index from combobox

$
0
0

Hi,


1. how can I get value and index from a combobox ?

2. i noticed there is attribute id on combobox widget that can be used on extension. Any example of what kind of extension does it mean ?


Thankss..

[Forums] can't activate Fabric Answer

[Forums] Google Maps Mobile multiple markers

$
0
0

Hey,

@Matthias, I never had the need to use the z-index to overlay the google maps, but you figured it out. I'm glad it worked.

@Vinicius, did you take a look on this post? I think you'll find the answer there. LEt me know if you need further help.


Cheers

[Forums] Android can't fetch image from url

$
0
0

Hi Henrique!

I'll try your workaround after I write this post, just wanted to put some screenshots up.


Perhaps worth noting, I need to get the images on the fly as they are displayed in Tweets and in google maps infowindows.

I made a new project consisting only of an imageview with the image url: http://www.willemen.be//sites//default//files//TCZ-Vue%20Toyota%20170327.jpg


iPhone (Outsystems Now app):


Android (Outsystems Now):



Outsystems web preview:





[Forums] external site to facebook and then stuck on fb page

$
0
0

Hi Mark,

Feel free to question everything :)

I've implemented it so you can see. The OnClick action,

And the values for the Open action,

P.S. Don't forget to generate a new native app or the plugin won't be available in your app.

Does it help you?

Regards,

António Pereira

[Forums] Mobile device interaction

$
0
0

Hi Jason,


It's good that you asked that. I checked the touch support for the parent project at fullcalendar.io and it has some nice suggestions for that usage pattern: https://fullcalendar.io/docs/event_ui/Touch_Support/

Going through the examples on the documentation on mobile, that description does not seem to fit the behaviour. 

We'll have to get that on our backlog to investigate. If you have any suggestion on this, please send it through. I'll keep you posted on the outcome as well.


Kind Regards,

João Grazina



[Forums] Add Drawable icons to Mobile Application

$
0
0

Carlos Alfaro wrote:

Hello,

I've found a way of adding  images to the /res/drawable-* folders of the generated App package, by using a dummy Cordova Plugin. The images, and possibly other files, are included using the <resource-file /> directives of the plugin.xml file.

An example plugin code is in the zip file attached, in this case it adds the Pushwoosh notification icons as described in the Pushwoosh Android FAQ - How to set a notification icon in Android Lollipop.

These are the steps to use it:

1 - Open the main application module and import the new or the updated zip file to the resources folder:

2- In the Extensibility Configurations value window, create a JSON object to include the dummy plugin:

{
    "plugin": {
        "resource": "/dummy-android-plugin"
    },
    "resources": "dummy-android-plugin.zip";
}


CA

Hi Carlos,

I follow your step and get error when create JSON object. I got error on ' ; ' after .zip"

when i delete ;  the error is gone but icon not change still got default icon (white bell)

What i supposed to do?


Thank you.


[Forums] external site to facebook and then stuck on fb page

$
0
0

António Pereira wrote:

Hi Mark,

Feel free to question everything :)

I've implemented it so you can see. The OnClick action,

And the values for the Open action,

P.S. Don't forget to generate a new native app or the plugin won't be available in your app.

Does it help you?

Regards,

António Pereira


i got that part implemented. all error messages are now gone. but what exactly do u mean with generate a new native app? i need to create a new app and load my oml file in there?. when i test the app i get the message ''cordova is not defined'' when i click on the link. i guess this has to to with generating a new native app. 


oh sorry it only works on my phone ofcourse! 

thank you very much!

greetings 


Mark

[Forums] Deployment Service is Down

$
0
0

Hello,

I'm having issues with my Deployment Service and I'm unable to test anything.

How do I restart this service?


[Forums] external site to facebook and then stuck on fb page

$
0
0

There are some cases when you need to generate a new native build (check this doc for more info) to see your new developments to an app.

The Preview in Devices mode in the browser doesn't have the plugins you've added to your app. You can use OutSystems Now (if your plugin is supported by OutSystems) or you have to test directly on your device (more info here).

Greetings,

António Pereira

[Forums] external site to facebook and then stuck on fb page

$
0
0

António Pereira wrote:

There are some cases when you need to generate a new native build (check this doc for more info) to see your new developments to an app.

The Preview in Devices mode in the browser doesn't have the plugins you've added to your app. You can use OutSystems Now (if your plugin is supported by OutSystems) or you have to test directly on your device (more info here).

Greetings,

António Pereira

yes it all works perfectly now! thanks a lot!  i have another question tough:P. i managed to change colors of buttons and text but i can't seem to find the menu icon. it's currently white and i added a image with a white background as header background. where can i change it's color to black? i looked i the style sheet and tried different things but i can't seem to find the wright piece of code. 

and how do i change the background color of a screen?

many thanks in advance !


Greetings 

Mark


Viewing all 1476385 articles
Browse latest View live


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