Firebase remote config - Conditional parameter cannot select "User propertier" - firebase-remote-config

I have added custom properties to users, like anonymousId, favoriteX and so on, but in firebase remote config ui I cannot create a condition like
for user that has property anonymousId = qa then set value of property to somevalue.

I fixed the issue.
That menu is enabled only after specified custom definitions in firebase, where user is the scope

Related

How to find out Azure KeyVault AccessPolicy Changes

I have a requirement to Audit all changes in AccessPolicies of Azure KeyVaults. I see that there is some event getting written in ActivityLog of the AKV. But I only see who has initiated the change (Caller) But Activity does not tell me what level of access has been provided to AKV.
In order to view what level of access has been provided/removed from your AKV, you can select the Operation name from your Activity Logs -> Change History -> Select properties.accessPolicies - AKV Activity Log screenshot.
Once on the "Changed Properties" screen you can select your desired property to see the old value and new value correlating to a ObjectID (user, group, service principle). Old Value/New Value screenshot]

Where to set User Properties in iOS for Firebase Analytics?

I have several user types:
Type A, Type B, Type C
User has to chose its type at time of sign up and it gets fixed for a particular user.
A user cannot change its type. How can I set User property so that a particular event can be filters using User Type?
Suppose event is logged by name : example_event
I want to check that how many users of type A triggers example_event?
Go to UserProperty tab in Firebase console of your project. Click NEW USER PROPERTY.
Enter a name and description for the user property, then click CREATE.
Let's suppose you have set USER_TYPE as Firebase property .
Now you can fire this property using below code .
Analytics.setUserProperty(USER_TYPE, forName: "A/B/C")
It will take some time to reflect on your Events tab of your Firebase project console.

Is it possible to add multiple security groups while creating ALB

https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_elasticloadbalancingv2/ApplicationLoadBalancer.html
ALB CDK has an attribute to return the list of security groups but couldn't find a way to add a list of security groups while creating ALB. Is there any workaround for this?
Depending on your use case for the security group. This may work - just put it in a loop for multiple security groups:
myAlb.connections.addSecurityGroup(mySG)
EDIT:
There's actually a ticket for this.
https://github.com/aws/aws-cdk/issues/5138
Here is a workaround:
myElb; // ELB created elsewhere in code
// get the CfnLoadBalancer from the LoadBalancer object
const cfnElb = myElb.node.defaultChild as elb.CfnLoadBalancer
// View SG list before the addition
console.log(cfnAdminELB.securityGroups)
// SecurityGroups can be 'undefined' need to check so that you don't get a warning
if (cfnElb.securityGroups){
cfnElb.securityGroups.push(mySecurityGroup.securityGroupId)
}
// Verify the token is added
console.log(cfnAdminELB.securityGroups)
In theory, you could delete things from the cfnElb.securityGroups list too if you wanted to get rid of their default CDK creates.

Umbraco - Automatically sync the Content Node Name with a doc type property

Am using Umbraco 4.11.10
Is there a standard way to create a document type property which when updated, automatically syncs with the content node name?
I know this can be done in the Properties section in the Name field but that field cannot be moved from the properties tab and it is a little out of the way - users get confused.
How is this usually done?
Wing
There are some special use umbraco field aliases. One is umbracoUrlName which will override the page url - just add it to your doctype and put it in whichever tab you want to change the url from.
EDIT
Another option would be to create a custom data type and use it to create a field that overwrites the node name. Add a text field as the UI of the custom data type; add an event that is fired whrn the textbox changes and update the name.
http://our.umbraco.org/wiki/reference/api-cheatsheet/modifying-document-properties
// Get the document by its ID
Document doc = new Document(node.Id);
// Get the properties you wish to modify by it's alias and set their value
// the value is saved in the database instantly!
doc.getProperty("name").Value = <input textbox value?;
// After modifying the document, prepare it for publishing
User author = User.GetUser(0);
doc.Publish(author);
// Tell umbraco to publish the document so the updated properties are visible on website
umbraco.library.UpdateDocumentCache(doc.Id);

Not able to set WorkItem State using TFS API?

I am trying to set State property value of Test Case Work item. I am creating using TFS API and C# code.
It throws an error while I save the test case using Save() method. I have called the Validate() method of a work item and the ArrayList shows the value I am trying to assign is an invalid state.
testCase.State = TestPointState.Ready.ToString();
ArrayList result = testCase.WorkItem.Validate();
if (!testCase.WorkItem.IsValid())
{
//this block executes
}
When I manually opened the MTM to see what are the different STATE values for existing work items, then I found READY and DESIGN. That's why I tried t assign TestPointState.Ready enum. I tried assiging READY string directly in that statement, but still the same exception whlie saving the test case.
Any idea on how to fix this issue ?
It is possible that when setting the state another field has then an invalid input. e.g.: when you change from Ready to Design it might require that you select who the AssignTo person is and so you'll need to populate these fields as well. You can use the Validate method to get a list of invalid fields after you set the state like below.
ArrayList invalidFields = newWI.Validate();

Resources