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

[Forums] [IDP] Object reference not set to an instance of an object error

$
0
0

Hi,
We are getting an "Object reference not set to an instance of an object." error when the user request a SAML login.

Following is the SAML response.

=====
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
                xmlns="urn:oasis:names:tc:SAML:2.0:assertion"
                xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
                ID="i3UL7DI1DiQooWruVtoB3KFg2RqNMQ6AqJO6sEmdb"
                InResponseTo="id_t20_a57d0fcff183495ab32c264dbfe9719c"
                IssueInstant="2019-03-12T05:03:30Z"
                Version="2.0">
                <samlp:Status>
                <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success" />
                </samlp:Status>
                <Assertion ID="idnZNtbF3mkIip1bjWjgAyefOKFwREB4kVvZnjrgF"
               IssueInstant="2019-03-12T05:03:30Z"
               Version="2.0"
               xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
               <Issuer>http://icewall.mw.ctc-g.co.jp/fw/dfw/tc/iwidp</Issuer>
               <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
               <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
               <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
               <Reference URI="#idnZNtbF3mkIip1bjWjgAyefOKFwREB4kVvZnjrgF">
               <Transforms>
               <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
               <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </Transforms>
               <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
               <DigestValue>xl/V5uaIfwIHyK2z+N1YLc2WLKQ=</DigestValue>
               </Reference> </SignedInfo>
               <SignatureValue>X8Mpj+G8JJ9xW0F1In9z7WC2X9b2PUjWY+q6Anko6jcpXQtiNcamjwxNvRhe0YQbpgGUtM1vsd66 rBN3DU7/n6DLtUrGQdZeXV5Olf9OiHEpgi4TeUGBsCTMBOAKaJwcv3heVm1jVajNhHDlOxl3kjR6 m6FGcl6cM/4hH4UV7II=</SignatureValue>
               </Signature>
               <Subject>
               <NameID>samltest</NameID>
               <SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
               <SubjectConfirmationData InResponseTo="id_t20_a57d0fcff183495ab32c264dbfe9719c"
                                         NotOnOrAfter="2019-03-12T05:13:30Z"
                                         Recipient="http://10.116.13.240/IdP/SSO.aspx"
                                         />
               </SubjectConfirmation> </Subject>
               <Conditions NotBefore="2019-03-12T04:58:30Z" NotOnOrAfter="2019-03-12T05:13:30Z">
               <AudienceRestriction> <Audience>http://10.116.13.240/IdP/SSO.aspx</Audience> </AudienceRestriction> </Conditions>
               <AuthnStatement AuthnInstant="2019-03-12T05:03:30Z"> <AuthnContext>
               <AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:Password</AuthnContextClassRef>
               </AuthnContext> </AuthnStatement> </Assertion>
</samlp:Response>
=====

Is there anything wrong with that?
It will be helpful if you can point out.

Thanks,

Hiroko


[Forums] New v11 Screen Templates not showing

$
0
0

Hi, I am also facing the same issue. I am new to OutSystems and my current outsystem version is 11. Can you please guide me, how to add all dependencies and how to get screen templates as only empty screen is available for me.


[Forums] Javascript is not working in iphone

$
0
0

Hi 

I have used the javascript in mobile application it is not working in iphone.

According to my requirement, i should trigger the upload widget on my popup button click. So i have used the javascript the below script. It is supported for android but it is not working in iphone.

document.getElementById("Upload1").click();

[Forums] Hi all,can we store any value to the variable declared in dropdown combobox

$
0
0

Hi Subham,


By default on select on it will store the identifier of your drop down list selected value.If you want to fetch the level or other, then again you have to write the logic to fetch the level or other attribute based on this identifier from your drop down entity.

Thanks,

Manish 

[Forums] Difference or advantages for this component

[Forums] New Learning and Experience Badges

$
0
0

Appreciate :)

Thanks was waiting for this one!!!


[Forums] Javascript is not working in iphone

$
0
0

Ellakkiya Selvadurai wrote:

Hi 

I have used the javascript in mobile application it is not working in iphone.

According to my requirement, i should trigger the upload widget on my popup button click. So i have used the javascript the below script. It is supported for android but it is not working in iphone.

document.getElementById("Upload1").click();

Initially make the element ID name in Lowercase & declare it with SIingle-Qoute within JS, like below:

document.getElementById('upload1').click();

[Forums] Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element

$
0
0

I am having the same issue, my code is right below, everything looks good, but I can't proceed more than this, its on javascript


<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />

    <title>Mini App</title>

    <style>
     
      body {
        background: lavender;
        margin: 0;
        height: 100%;
        overflow: hidden;
      }
     
      h2 {
        margin-bottom: 2em;
        text-align: center;
      }  
               
      div.user-photo {
        width: 150px;
        height: 150px;
        margin: 1em auto;
        position: auto;
        background: #fff;
        border-radius:100px;
      }
     
      div.details {
        background-color: #6200ee;
        font-size: 2.3em;
        margin: 2.5em 0.2em 0.2em 0.2em;
        color: #fff;
        padding: 1.1em;
        min-height: 6em;
      }
      img {
        width: 150px;
        height: 150px;
        border-radius: 100px;
        display: inline=block;
      }
     
      footer {
        width: calc(100% - 2em);
        z-index: 500;
        position: absolute;
        bottom: 0;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
        margin: 0 1em;  
      }
     
      footer button.mdc-icon-button {
        margin: 0.5em;
      }
     
    </style>
  </head>
  <body>
   
    <h2>kingsley Okpara</h2>
   
    <div class="user-photo mdc-elevation--z3">
      <a href="https://placeholder.com"><img src="https://via.placeholder.com/150"></a>
    </div>
   
    <div class="details mdc-elevation--z3"></div>
   
    <div class="messages"></div>

   
    <footer>
      <button id="btn-Address" class="mdc-icon-button material-icons" style="color:#ffffff;">Address</button>
   <button id="btn-Phone" class="mdc-icon-button material-icons" style="color:#ffffff;">Phone</button>
     <button id="btn-Birthday" class="mdc-icon-button material-icons" style="color:#ffffff;">Birthday</button>
    </footer>
    <script>
 
      const style = window.getComputedStyle(backgroud-color, null);
     
      const notify = (msg) => {
        const toastr = document.querySelector('.messages');
        if(!toastr) return;
       
        toastr.textContent = msg;
        if(!toastr.classList.contains('on')) {
          toastr.classList.add('on');
        }
      };
     
      const clearNotice = () => {
        const toastr = document.querySelector('.messages');
        if(!toastr) return;
       
        toastr.textContent = '';
        toastr.classList.remove('on');
      };
     
      const displayUserPhotoAndName = (data) => {
        if(!data) return;
       
        // add your code here

        clearNotice();
      };
           
      const getAUserProfile = () => {
        const api = 'https://randomuser.me/api/';
       
        // make API call here
       
        notify(`requesting profile data ...`);
      };
     
      const startApp = () => {
        // invoke the getAUserProfile here
      };
     
      startApp();
    </script>
  </body>
</html>



[Forums] HTML2PDF CSS not working with Zip

$
0
0

Kilian Hekhuis wrote:

Hi Alexander,

I'm not sure what you mean. A PDF doesn't have a CSS. All formatting of a PDF is included in the PDF itself. It really shouldn't matter whether you download the PDF directly, or whether you first ZIP it.


Hi,

In my case, created a webscreen that have all the details of my PDF, looks and style, then using the HTML2PDF it will be converted to PDF by passing the URL of the webscreen to GeneratePDF action.

[Forums] MuleSoft to OutSystems Integration

$
0
0

We are integrating MuleSoft with OutSystems too, using the Rest API also. It is working well for us here :) 

[Forums] New Learning and Experience Badges

$
0
0

How awesome! Will get on to doing these courses! :D 

[Forums] signup and signin

$
0
0

Jorge Martins wrote:

Ys Yeo,

Please refrain from asking the exact same question in different topics for two different versions of the same component. If you cannot understand how a component works, the best place to ask your questions is directly on the component's Support section, as the development team will be informed there's activity there (and everyone else will still see it in the forums).

The default implementation of the UI Flow provided by this component, does everything you need, you just need to:

  • have a link from your login page to the RegisterUserScreen Web Screen and;
  • upon successful registration go to the right Destination.

For the mobile component it is similar, even though not implemented exactly the same way.


Oh okay sorry and thanks!

[Forums] Hi all,can we store any value to the variable declared in dropdown combobox

$
0
0

Hi Subham Bid

I understood that you wanted to store the ID in a different attribute. My solution does not work for that case. Thanks for your observation!

Marco Arede wrote:

Hi Subham Bid,

Yes it's possible:

  1.  You can create a local record variable, of the same type as the entity you want to store. 
  2.  Then assign the attribute of that record variable to the widget variable property
  3.  Set also the source entity property. 
  4.  When a user selects an option, his value will be stored by the combo box.

See here also:

Regards,

Still,its taking the id value whatever chages i made.



[Forums] Asynchronous programming in .net Extensions

$
0
0

Filipe Jacinto wrote:

Timothy , i just made it! You have to use .ConfigureAwait(false);
"Await resumes execution in the Synchronization context (essentially the thread) that started awaiting. If that thread is already blocked, eg. by awaiting itself on something else, the code deadlocks.": https://stackoverflow.com/questions/17202709/iis-failing-when-await-task-used   

Hi Filipe,

Thank you, you made my day.
I have same error as my extension (which have async code) seems have no response.
After change all my 'await' code to use ".ConfigureAwait(false);", my extension is worked!


[Forums] OutSystems Cloud configuration

$
0
0

Hi Kilian,


Thank you for your fast reply.

I will do so :)


Best regards,


[Forums] WebpackJsonP reference not found

$
0
0

That doesn't seem it, that's JavaScript using webpackJsonp, not the definition of webpackJsonp (it even complains it can't find it!). It seems you lack some JavaScript files there...

[Forums] Hi all,can we store any value to the variable declared in dropdown combobox

$
0
0

Hi Subham,

Marcelo already gave you the answer. See also here for a detailed step-by-step description by Eduardo (or download my example here).

[Forums] WebpackJsonP reference not found

$
0
0

Kilian Hekhuis wrote:

Hi Avala,

Have you checked whether the web page actually includes the JavaScript for the chatbot?

Yes Kilian, Please find the screenshot for the reference.



[Forums] How i split cell's in a table header?

$
0
0

Hi Ana,

Steps to produce the solution.

  1. Insert the table inside the header the cell position where you want to insert child header 

Split the row cell corresponding to the header cell Attaching the sample oml for reference.

Hope it will helps you.


Regards,

Koushik

[Forums] PlatformServices outdated?

$
0
0

Hi All,


everytime we're deploying/publishing we receive the warning:
"Consumed SOAP Web Service 'PlatformServices_v8_0_0' is outdated".

How to solve/prevent this?

Best regards,

Jeroen Vormer

Viewing all 1476385 articles
Browse latest View live


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