Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Urs_Boller
Urs_Boller
Offline

Badges

Badges
58

Accepted Solutions

Accepted Solutions
257

Likes

Likes
532

Posts

Posts
1024

Discussions

Discussions
295

Questions

Questions
729

Ideas

Ideas
212

Blog Posts

Blog Posts
1
Top badges earned by Urs_Boller
Customize the badges you want to showcase on your profile
Re: access .env variables in web-src?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Hi @SarahXu that's what I assumed I need to do. My use case is having a router where one route (screen) is access restricted. means when calling the screen, I need to invoke an action which returns true or false for access. Is there any other way I can make a part of the app with access restriction? eg. by checking a "product profile id" or something similar?

Views

411

Likes

0

Replies

0
Re: use aio-lib-state and aio-lib-file in web-src?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Hi @duypnguyen security is an important case, was just looking for a "quick way". I now implemented a generic action that both handles "getData" and "updateData" for a single screen (based on parameters) and enabled the 'require-adobe-auth'. Works good and just a few lines more than having within the main component itself.

Views

228

Likes

0

Replies

0
Re: rules for Adobe Launch triggers?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
hi @duypnguyen. thanks for forwarding the question. meanwhile I will try to add the public endpoint of my unprotected as callback. there is no need for a query param since I only use the start of the action as a trigger and will not rely on any input from the action. means as soon as my action get's triggered, it runs completely independent from any input params... but having a "protected" trigger would be far better...

Views

281

Likes

0

Replies

0
use aio-lib-state and aio-lib-file in web-src?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Having an app scren, is it possible to use the libraries aio-lib-state or aio-lib-files and access the data? eg. I want to have some "basic logs" save somewhere and display it on an app screen (component). or do I need to write an action fetching the desired data and then display the response?

Views

243

Likes

0

Replies

2
access .env variables in web-src?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
is it possible to access the data saved in the .env file within the app? eg. I have a screen and I want to access data saved in the .env file - basically to make a check. or do I really need to write an action for this?

Views

435

Likes

0

Replies

5
Re: Access to own storage using aio-lib-state and aio-lib...
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen you are awesome!!! created a new collection with the defined partitionKey and it works like a charm!!! thanks a lot

Views

468

Likes

0

Replies

0
Re: Access to own storage using aio-lib-state and aio-lib...
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
next update: We tried to access the Azure with Postman, were able to receive the list of values. but as soon as we tried to access a single ressource on ../docs/{docsId} there was an error like "Partition key XXX is invalid". so it looks like under the hood there is an issue with the "partition key", but whatever we tryed, it we didn't succeed.Remark: we needed to add an additional header "x-ms-documentdb-partitionkey" to get so far ...

Views

512

Likes

0

Replies

0
Re: Access to own storage using aio-lib-state and aio-lib...
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Update: can see that aio-lib-states writes the values into storage, but I can't read (returns "undefined")

Views

517

Likes

0

Replies

0
Re: Access to own storage using aio-lib-state and aio-lib...
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
hi @duypnguyen my endpoint looks as this. I don't think it's an issue with the connection for state, since there is no error (i just don't get any old values - means state.get returns always "undefined".

Views

520

Likes

0

Replies

0
Access to own storage using aio-lib-state and aio-lib-action failed
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
To have a local storage during development on own environment (see https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/aio-local-action-with-error-on-aio-lib-state-init-and-put/qaq-p/377022) I thought I could use my access to Azure and setup containers to be used in the sdk init.But aio-lib-lifes failed with error like "request to url XXX failed - getaddrinfo EAI_AGAIN" and aio-lib-files succeded but I was not able to write any keys...is there any documentation on how to s...

Views

532

Likes

0

Replies

9
Firefly actions - maximal execution time?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
I'm in the process to write an action that should download data from Adobe Analytics (API 1.4). the overall action already takes about 30 seconds if I reduce the action to a minimum (will need to run a few times in a row by alarms). however, I run into timeouts in the beginning when the action took longer than about 60 seconds. my questions are:- what's the exact limit for the execution time in the UI?- what's the limit for the execution time if the action is running headless (triggered by alarm...

Views

388

Likes

0

Replies

2
rules for Adobe Launch triggers?
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Looking at the Adobe Launch API there is a subscription service to register a callback request. the definition of the API reguest can be found here: https://developer.adobelaunch.com/api/reference/1.0/callbacks/create/ I really love the idea of registering my own url within those callbacks, mainly because @jexnerW4D wrote a blog about: https://webanalyticsfordevelopers.com/2020/04/07/using-audit-events-in-launch/ the first idea was to expose one of my action to public so that I can be used to re...

Views

315

Likes

2

Replies

2
Re: debug actions after "aio app deploy"
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
HI @duypnguyen those commands are really helpful, thanks a lot!

Views

293

Likes

0

Replies

0
Re: debug actions after "aio app deploy"
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
thanks a lot - will try those commands...

Views

325

Likes

0

Replies

0
debug actions after "aio app deploy"
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
I gave an issue somewhere in my action after "aio app deploy". the action is working fine on local "aio app run", but not in deploy. any chance I can see the debug of the action somewhere when app is deployed?

Views

346

Likes

0

Replies

4
Betreff: creating adobe access token in a headless action
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen thanks for confirmation and link to the issue. I hope there is a fix soon ...

Views

572

Likes

0

Replies

0
creating adobe access token in a headless action
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
I try to create an adobe access token in a headless action. first I tryed to use aio-lib-ims but this fails to include in the action (maybe an issue with the core library and their dependencies?) is there any easy way to create an adobe access token having all data in the .env file?

Views

639

Likes

0

Replies

8
Re: Trigger another action from within an action
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
thanks a lot! will think about this solution with npm and give it a try. maybe we keep things simple and just write single actions doing one thing at a time...

Views

298

Likes

0

Replies

0
Re: openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen thanks for the params, need to write them the right way! will give it a try. I will close the question as I think it will work 😉

Views

526

Likes

0

Replies

0
Re: AIO local action with error on aio-lib-state init and...
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@SarahXu thanks for confirmation. Indeed, as soon as I run "aio app deploy" it works...

Views

330

Likes

0

Replies

0
Re: openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen here is my current setting: start-date: "2020-08-31T11:00:00.000Z" stop-date: "2020-08-31T12:00:00.000Z"so the interval should have run only for 1 hour .... and I knwo I entered the start time the right way (but it started before...)what are the right params for start and stop?

Views

570

Likes

0

Replies

0
Re: openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen just realised that my "interval" action does not stop (ignoring the param "stop-date". do you know what the key is to stop the alarm?

Views

575

Likes

0

Replies

0
Re: openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen and thanks for confirmation about security concerns, it looks as it is exactly what we are looking for (running an action in background doing all the stuff)

Views

578

Likes

0

Replies

0
Re: openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@duypnguyen I don't want to access the same action from both triggers (interval) as well as UI - it was just my first idea during testing. What we do now is having a backend action (headless action) which is triggered by whisk/alarms and the UI just displays the result. If we want, we can pass settings to the headless action by using another action that sets some keys using aio-lib-state

Views

579

Likes

0

Replies

0
Re: openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Hi @duypnguyen thanks very much - worked perfect and rule is triggered/running as expected!! that is really awesome 🙂just two more questions:Is it correct that without the attribut "web:yes" the action can't be accessed from anywhere, only used by triggers and events? so there is no way from outside to trigger the action and receive the results?Do you know of a way to locally turn off the alarm package (when running "aio app run"), but adding it as soon as I run "aio app deploy"? do I need to m...

Views

595

Likes

0

Replies

0
Trigger another action from within an action
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Given an "action A" is running and I want to call (based on conditions) different other actions (from within the same app), what is the best way to achieve this?1) use node-fetch and the action name?2) release an event and the other action listens to? remark: I can't use sequencing since I don't know what the second acrion is. the second action depends on calculation in the first action. if 2), how can I trigger such an event and how can the "listener"? update the manifest.yml?thanks in advance ...

Views

356

Likes

0

Replies

3
openwhisk alarms not allowed on local environment
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
I tried to add openwhisk alarms to my app using /whisk.system/alarms https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference/prepackages.md and added a new trigger to my manifest.yml file as following: triggers: myIntervalTest: feed: /whisk.system/alarms/interval inputs: minutes: '5' start-date: "2020-08-30T19:30:00.000Z" stop-date: "2020-08-30T21:30:00.000Z" payload: "{}" and running local dev server with "aio app run --local" I get the following err...

Views

619

Likes

0

Replies

11
Re: Scheduler job in Firefly / Runtime
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
@SarahXu I don't think the provided pattern works, at least I received errors when using the code in my manifest.yml file.After some testing I think the pattern using openWhisk alarms should be something like this: ... triggers: myCustomTriggerName: feed: /whisk.system/alarms/alarm inputs: cron: '* * * * *' start-date: ''2020-08-30T13:37:00.00Z' stop-date: '2020-08-30T12:50:00.000Z' ... could you please check what the right pattern is to use in the manifest.yml file? thanks

Views

699

Likes

0

Replies

0
AIO local action with error on aio-lib-state init and put function
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
I was trying to use the aio-lib-state https://github.com/adobe/aio-lib-state and was running into different issues on my local maching. Issues on "init"first, I tryed to include just the sdk and init storage using the following code in my simple action: const stateLib = require('@adobe/aio-lib-state') const state = await stateLib.init() but as soon as I trigger the action from the generic action UI, I get the following error in debugger: error 403 - unauthorized request it looks as it is trying ...

Views

349

Likes

0

Replies

2
Re: AIO lib state - expiry
Avatar
Coach
Community Advisor
Urs_Boller
Community Advisor

Likes

532 likes

Total Posts

1,024 posts

Correct reply

257 solutions
Top badges earned
Coach
Bedrock
Contributor 2
Originator
View profile
Urs_Boller
- Project Firefly
Hi @Mihai_Corlan thanks a lot for the fast reply and confirmation! will give it a try. on the other hand, that means we need to be careful using this feature and create a proper documentation

Views

298

Likes

0

Replies

0