How can I modify foreach index on Bot Framework Composer 2.1.2 - foreach

Until very yesterday I've been using Bot Framework Composer v1.4.0, but I´ve upgraded to v2.1.2 and I've encountered a problem. Due to client's requirements, we've been working on a rollback function in our dynamic conversation flow (the different questions are in arrays that we iterate so we can create different flows that coexist).
To do that, we've been modifying our for-each loop index so we can certainly go to the previous question. However, in v2.1.2 we can't modify that index anymore. We've been trying creating an aux index, but it's a little bit clunky. Is there any way to do it as we've been doing, or did Microsoft really change that?
Thank you in advance.

Related

Microsoft Graph educationClass expand with select

I'm trying to grab only properties "id" and "userPrincipalName" from the teacher when getting educationClasses with $expand=teacher as parameter. But whatever I do, I keep getting the full teacher/user object.
https://graph.microsoft.com/v1.0/education/classes?$expand=teachers($select=id,userPrincipalName)
But it gives the same result as this one:
https://graph.microsoft.com/v1.0/education/classes?$expand=teachers
What am I doing wrong?
Or is this one of the endpoints where the expand+select feature is not fully supported? I don't want the full teacher object because it contains assignedLicenses, assignedPlans, provisionedPlans and a whole lot of stuff I will never need in this request.
And...it's production, so I'd like to avoid using the BETA endpoint if possible.
Yep, looks like the underlying AAD storage doesn't support expand plus select.
You can see what is happening under the covers by appending the &$whatif to your query.
Not a lot we can do about this, as the AAD team aren't investing in adding richness here right now.

Building Zapier App - Updating User With Custom Fields

I have been building out a Zapier app for my company and all has been going well and I am pretty much finished except for one thing I can't figure out which I am hoping someone can help me with.
Using Zapier Salesforce App as an example that is similar to what I am trying to achieve). Imagine I am trying to update a contact. If I do this is Zapier SFDC app it pulls in all the possible fields on that record which can be completely different due to custom fields.
I am essentially trying to mimic this for updating users in our system but cannot pull in the fields that are available to update for that specific user. I am guessing you use the 'Dynamic Field' feature maybe but I just don't see how it can work which may be down to a lack of something on our end.
Anybody run through this sort of experience before that could offer any inisghts? Thanks!
Yes, you need to implement dynamic custom fields in your app. Here is the documentation: https://zapier.github.io/zapier-platform/#customdynamic-fields

Should I make a HAS_Scope relation to Api- and IdenityResources instead of making a node with just 1 value

I just started a github project for Identityserver4 with a neo4j backing store.
(https://github.com/AndreSteenbergen/IdentityServer4.Contrib.Neo4jBolt) I am asking myself if I should make the relation (HAS_Scope) to the Resources directly, or if I should keep the nodes as they are now. I am very tempted to use HAS_Scope to the resources.
What are your ideas? Make a direct link, or just keep it as is?
I just debugged some more: when making an extra client with unknown scope, an error is given using that particular client. I think it is better to make sure the data is consistent in the first place.
Here is the second attempt, storing identityserver configuration in Neo4j. I have updated the github project accordingly. It works as a charm right now.
For the careful reader, I know it is not wise to use 1 secret for more then one client. A graph database can point out these strange things at once ....

create relationship in parse dashboard

does anyone know if it is possible to create relationships in the dashboard of parse?
I'm running the bitnami parse api 1.0.18 through aws ec2 and can't see anyway of doing it and the documentations only says you can do it through code. i want to have these set up in the background as the user won't write to them, probably just download some data and images.
i could just go and create a whole heap of tables with unique identifiers but this seems a bit of a dumb work around.
I strongly suggest you look into Cloud code. This is one of the reason why cloud code works so well! Simple to setup and little bit of javascript you'll be on your way.
http://parseplatform.github.io/docs/cloudcode/guide/
If its something that needs to happen before the insert, look at the beforeSave method.

Updating a Passbook Pass using Ruby on Rails or an alternative?

I was wondering how I would go about updating my passes. I already know I need a webServiceURL (which I assume will be your IP address or one set on Ruby on Rails or something) and an authentication token. I'm more focused on how I would actually, physically update it. Is there an easy way out of this? Sort of like those iPhone app creating websites (but you don't professionally code it). I'm going to look into it more, but there aren't too many resources on the internet to choose from (that are useful).
If you are looking for a WYSIWYG, point and click solution, you might want to check out our service PassKit.
To see how updates work, you can start with this demo pass, flip it over and push yourself an update. You can import the template for the demo direct into the pass creator, edit it, and be pushing updates to your own passes within 5 minutes.
We also have a fully functional API that allows your to update and push a new pass your pass in a single call, E.g.
https://api.passkit.com/v1/pass/update/template/yourTemplateName/serial/yourPassSerial/push/?field_value1=newValue&field_value2=newValue2
If you want some code to get you stated, you can also access the source code to our pass creation pages.
If you are going to roll your own, I would use passbook-ios or something like that which is a Ruby Gem. If you want to use a service Urban Airship has one....though the pricing is a bit expensive at 10 cents a pass.
Lance

Resources