Search found 80 matches

by martin.rueegg
Tue Mar 14, 2017 10:52 am
Forum: Scripting & Webservices issues
Topic: Failed to access User record types when fields are shared
Replies: 10
Views: 2386

Re: Failed to access User record types when fields are share

Hi I had a similar problem that took me ages to figure out yesterday. I seems, that the following code does not work if you want to access shared record fields: RecordDTO dto = recordService.getDataForNew(newParams).getDto(); Map<String, Object> wrapped = scriptHelper.wrap(dto, recordType.fields); T...
by martin.rueegg
Mon Feb 27, 2017 11:06 am
Forum: Scripting & Webservices issues
Topic: Generating the url for UserImage
Replies: 4
Views: 1389

Re: Generating the url for UserImage

Hi,

Any suggestion regarding the extension? (It cannot be extracted from the original name, as this does only match for png's ...)

Thanks,
Martin.
by martin.rueegg
Tue Feb 21, 2017 11:51 am
Forum: Suggestions
Topic: OFX web service
Replies: 0
Views: 982

OFX web service

Hi all Regarding Status Online Banking interfaces , has there be any progress in this? We would be interested in the server side component of OFX, so that customers using e.g. QuickBooks could import transactions from Cyclos. OFX seems to have developed much further than in 2006, when it was first m...
by martin.rueegg
Tue Feb 21, 2017 11:30 am
Forum: Bug - problem reporting
Topic: Custom Operation - Result row click ignored
Replies: 9
Views: 4075

Re: Custom Operation - Result row click ignored

Hi Andres, Thank you for your reply! But the bad thing is there is a bug sending the parameters to the row CO that's why you can not access the parameters. It will be fixed in the next 4.7.3 (and of course 4.8 ) Well, in that case I will test it again once we've upgraded to 4.7.3 Cheers, Martin.
by martin.rueegg
Wed Feb 08, 2017 11:39 am
Forum: Scripting & Webservices issues
Topic: Are id's persistent & unique (API) and how're they created?
Replies: 3
Views: 1181

Re: Are id's persistent & unique (API) and how're they creat

Dear rmvanarkel

Thanks!

Perfect, that helps!

Martin.
by martin.rueegg
Wed Feb 08, 2017 11:32 am
Forum: Scripting & Webservices issues
Topic: Generating the url for UserImage
Replies: 4
Views: 1389

Re: Generating the url for UserImage

Hello rmvanarkel thanks for your reply. It is available, you can just use the key. It's available in the image parent: http://documentation.cyclos.org/4.7/scripting-api-docs/org/cyclos/entities/system/Image.html Yes, I have found this property. In fact, I am building the URL using the key: private U...
by martin.rueegg
Wed Feb 08, 2017 11:18 am
Forum: Cyclos 4 Communities
Topic: Setting time of day when Scheduled Payments are performed
Replies: 6
Views: 1563

Re: Setting time of day when Scheduled Payments are performe

Thank you, Alexandre

for the clarification.

Might be worth to move this to the "Suggestions" section of this forum then.

Best wishes,
Martin.
by martin.rueegg
Tue Jan 31, 2017 6:15 am
Forum: Scripting & Webservices issues
Topic: Generating the url for UserImage
Replies: 4
Views: 1389

Generating the url for UserImage

Hi there, When accessing information about an image over the API, there is a property url available. However, this property is not available in the UserImage object. How can the url be retreived within a script? I do know, that it is composed by [network]/api/images/profile/[key]_[dimensions].jpeg. ...
by martin.rueegg
Tue Jan 31, 2017 6:03 am
Forum: Scripting & Webservices issues
Topic: Are id's persistent & unique (API) and how're they created?
Replies: 3
Views: 1181

Re: Are id's persistent and unique (API)

Hi again, actually, I have a follow-up question: rather than just knowing whether or not the generated IDs are unique within their domain or the entire system, I wanted to find a way on how to generate those IDs from the code . When I access any .id property of e.g. User or UserImage , it is the id ...
by martin.rueegg
Thu Jan 26, 2017 2:02 pm
Forum: Bug - problem reporting
Topic: [SOLVED] ParameterStorage key iterator endless loop
Replies: 1
Views: 783

Re: [SOLVED] ParameterStorage key iterator endless loop

The Problem actually lies in my code! Everytime I call: while (pathVariables.names.hasNext() && i <10) { pathKeys.add(pathVariables.names.next()); i = i + 1; }; I get a new instance of the Iterator, both before calling hasNext() as well as when calling next(). As such, I always get the first element...
by martin.rueegg
Thu Jan 26, 2017 1:56 pm
Forum: Bug - problem reporting
Topic: [SOLVED] ParameterStorage key iterator endless loop
Replies: 1
Views: 783

[SOLVED] ParameterStorage key iterator endless loop

Hi When iterating over the names in ParameterStorage , the loop is endless. It seems, as if the pointer is not advanced: Having a web service with Url mapping of directory/{ver}/{sub}/** and the following code in the script: ArrayList<String> pathKeys = new ArrayList(); Integer i = 0; while (pathVar...
by martin.rueegg
Thu Jan 26, 2017 1:46 pm
Forum: Cyclos 4 Communities
Topic: Setting time of day when Scheduled Payments are performed
Replies: 6
Views: 1563

Re: Setting time of day when Scheduled Payments are performe

Hi Joan Thanks for your reply. Hi Martin, In our communitie we can set the payment day but not the hour. I guess you are referring to the user interface, where you set the scheduled payments. However, I was referring to the system and the time of the day when payments scheduled for that day are actu...
by martin.rueegg
Tue Jan 17, 2017 11:09 am
Forum: Scripting & Webservices issues
Topic: Are id's persistent & unique (API) and how're they created?
Replies: 3
Views: 1181

Are id's persistent & unique (API) and how're they created?

Hi! Does anyone know if the Id's that are returned by queries to the API are persistent (over multiple sessions)? - As to my experience, they are. Furthermore, are they unique just among one given entity (eg. users , or custom field possible values ) or actually across the entire dataset (e.g. if th...
by martin.rueegg
Wed Jan 11, 2017 6:55 am
Forum: Cyclos 4 Communities
Topic: Setting time of day when Scheduled Payments are performed
Replies: 6
Views: 1563

Setting time of day when Scheduled Payments are performed

Hi everyone Does anyone know if there is a setting that allows to set the time of the day for performing scheduled payments at an other time rather than 00:00? We would like to shift it to 12:00. I've not found anything that points me in this direction. Further more, is there a setting for the syste...
by martin.rueegg
Tue Dec 13, 2016 7:18 am
Forum: Scripting & Webservices issues
Topic: Access Custom Script over Web Service (from PHP)
Replies: 1
Views: 2803

Re: Access Custom Script over Web Service (from PHP)

Roder Van Arkel wrote:Also read the documentation:
http://documentation.cyclos.org/4.7/cyc ... ml#d0e3206

In the documentation we say you can call the scripts as follows:

Code: Select all

<cyclos-root-url>[/network]/run/**
Yes, this does work. Will post here my solution, once I got it running from php.