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

[Forums] Clone User Modules - DecryptSetting Method Not Found

$
0
0

Hi Bilal,

AS the comments said you will need to implement those decrypt and encrpyt by yourself. You can use this component for that. About the rest of the system functions you will need to check if you can keep using those or you will need to create some by yourself.

Regards,

Marcelo


[Forums] BulkInsert Column mapping issue

$
0
0

Hi Dhaval,

You don't need to use ReferenceColumns. What you need to do is get the physical table name as Daniel said and use a list of the entity you are trying to bulk insert. this means the list should be of the same type of the entity.. For example if you are trying to bulk insert the table client you should have a list of clients to be converted to object and insert on recordlist input.

If you need any more help let us know.

Next time you have a doubt about a component you should post it on the component support. That way the team that develop the component will get a message that someone has a question

Regards,

Marcelo

[Forums] BulkInsert Column mapping issue

$
0
0

Hi Dhaval,

You should not hardcode the physical table name and column name, it can be different depending on the environment where your application is deployed and run. 

You can retrieve it with the following query:

SELECT PHYSICAL_TABLE_NAME FROM OSSYS_ENTITY WHERE NAME = <NameForOutsystemsEntityInServiceStudio>. 

Then save the output of this query in a local text parameter, which you then pass to the BulkInsert action.

Find the actual column name using a query on JOIN of OSSYS_ENTITY and OSSSY_ENTITY_ATTR with WHERE clause by service studio name of entity and service studio name of the entity attribute.

Regards,

Daniel

[Forums] Clone User Modules - DecryptSetting Method Not Found

$
0
0

Hi every one,


I am working on an application for which user will be authenticated from external oracle database. I have been recommended to clone existing user module and modify it to use my own database.


But as soon as i cloned it. It gives error for 2 methods Decrypt/Encrypt settings. I could not find any missing reference. Can anyone let me know how this issue would be resolved.


Also I found that this module is further consuming system modules functions / entities (users etc) which cannot be cloned / opened. So How i will create an active / authentic session, if user is validated from my custom database.

[Forums] How to check if an optional parameter is used

$
0
0

Hi Vincent,

You cannot. Not knowing the reason why you want to know if a value is passed I would suggest either the following:

  • Make your logic such that there is no reason to check if a value is provided, any value provided should be valid for the function to work, or alternatively:
  • Provide an extra Boolean input Parameter that describes if an optional parameter has its value passed, you can make this a optional parameter to with default unset (so false). Then only on those calls you provide a value in your optional parameter set the corresponding Boolean input parameter to true. This kind of constructs is also used sometimes in SOAP definitions for numeric and  oolean data.

Regards,

Daniel

[Forums] SQL Error:String or binary data would be truncated.

$
0
0

Alternatively you could define your entity attribute as binary (blob in database) and use the text to binary function to convert the json to binary prior to saving it in the entity. Benefit of this is that you have no size limit.

[Forums] How to check if an optional parameter is used

$
0
0

I have a Server Action that requires certain parameters but also accept optional parameters. I have however a hard time checking if an optional parameter has been explicitly set by the user or if it's just at it's default value (defaults can be valid inputs for my example). How can I detect this?

I have thought about setting a default value with values that are out of bounds but I have cases where that will never be an option (since the entire range of an integer for example is a valid input).

[Forums] Remove App Badge numbers

$
0
0

Hi,

How we can remove app badge icon numbers from the app icon in ios.

Regards,




[Forums] Integrating DLL, unknown input variable "This_Program"

$
0
0

Hi Jeckziel,

Whenever we create an extension we need to define input and ouput parameter like string, int, list, object etc and same you need to send in the input from outsystems side.. Are you doing same and you can also return error message in the output so you are aware of the error message.

Please also  log error message in the extension which you can see in the service center.

[Forums] SQL Error:String or binary data would be truncated.

$
0
0

Hi Richa,

Did you check json format once?

Try to insert that json format directly to database using sql query. Please let us know the output.


Thanks,

Rajat Agrawal

[Forums] List Structure within the Accordion

$
0
0

Hi Stephen,


One have some quick question, 

1) you are able to get all data in aggregate or advance sql query successfully

2) When you assign value from aggregate to your list variable then you get value on parent attribute and milestonelist is empty?

[Forums] Counter refresh

$
0
0

HI Carlos,

As per my understanding you have Counter web block in the header of your page. You want to refresh that web block based on the logic in preparation of web block. 

Now what you can you do it, just call notify widget in the web block preparation and pass any value you new value or any value you want to pass counter 


Just for example, I have kept countercontainer in Breadcrumb, you can keep according to your requirement 


Now call on notify action of a web block, where you can read message from web block preparation and assign value then use ajax refresh.




Thanks,

Rajat Agrawal

[Forums] SQL Error:String or binary data would be truncated.

$
0
0

While inserting Json Data in the table we are getting this error. The field in Table where JSON is getting stored has length of 25000 and while inserting the data,it is only of 2000 but still this exception is coming.

String or binary data would be truncated.
The statement has been terminated.
Environment Information

[Forums] SQL Error:String or binary data would be truncated.

$
0
0

I agree with Daniel..

Thanks,

Rajat

[Forums] How to check if an optional parameter is used

$
0
0

Hi Vincent,


Another approach (and perhaps less error-prone) is to make the attribute as mandatory and therefore you're forcing for the developer using it to think if he wants to pass the Default Value or not. In this way you are preventing that optional parameters fields are never filled, even when they should. On top of that, I would recommend to include a description on the parameter explaining its behavior (after all that's the purpose of descriptions) so whoever uses it has all the information in need.


Cheers,

João


[Forums] Widget_Click Not Working After Ajax Refresh Link

$
0
0

@Eduardo - Yups correct.. They are refreshing the link so new ID generating everytime. 


Thanks,

Rajat

[Forums] Widget_Click Not Working After Ajax Refresh Link

$
0
0

@Rajat,

When you use widget.id you are using the ID of the widget...

Cheers.

[Forums] Widget_Click Not Working After Ajax Refresh Link

$
0
0

Jianlong Lin wrote:

I found out that the id of the link will be changed after ajax refresh which may be causing the problem. However, for Widget_Click, it should be getting the new widget id. If it's not, how can I get the updated widget id to be the input parameter for Widget_Click? 


Hi Jian,


We never use ID because ID generated new everytime. You need to give class instead of id when we use javascript. Do one thing just give name to your link like Rajat and then call link name.id like Rajat.Id in the click widget it will work.



Thanks,

Rajat Agrawal

[Forums] Widget_Click Not Working After Ajax Refresh Link

$
0
0

Hi Rajat,

Attached is the oml file. 

[Forums] Widget_Click Not Working After Ajax Refresh Link

$
0
0

Hi Jianlong,

I'm not sure, but I think the Ajax will happen only at the END of the action, and at this point, the Click already as bind to the old link id.

If that is the case (I would have to test this, but will not have time until next year ;) rs), a possible (ugly) workaround would use a specific class (for example), and run a JavaScript instead of the Click, something like this: "$('.myclass').click();".

This would avoid the problem of the changed ID.

Cheers.

Viewing all 1476385 articles
Browse latest View live


Latest Images

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