How to search Crashlytics custom keys - ios

Using their handy guide, I'm able to set custom keys in crash data that appears in the Crashlytics dashboard for a particular crash. The docs (and placeholder text in the web site's TextBox) say you can search by key to find a crash like you can using other data like method name, line number etc. I can't get the search to ever find a crash by a key value. I've tried searching on both the custom key's name and value and it never finds it. I hard coded a simple key to the value "hello" just to make sure it wasn't a search case sensitivity type issue but no luck. Anyone ever able to successfully search by custom key?

In the text field that says Search issue title, subtitle or key, you need to put the search query in this format:
key:<key> value:<value>
eg
key:id value: b329e5d2-dd2a-4bfb-95e3-1e5ffc9153dc
Where in the code I've created a custom key named id

Apparently, you just have to wait. 15 minutes or so after the crash had appeared on the dashboard site, the search by key value worked fine. Must be their search index service had to cache/process the new data?

Related

readMask value to get the display names form new GMB API

I am running this line of code:
location_list = self.service_mbbi_v1.accounts().locations().list(parent=account_name,readMask='name').execute()
And I get the list of the location IDs but I don't manage to get the Location display name, the display name, not just the ID. I wrote google and told them about my issue and they told me they are looking into it but it has been 2 weeks and no response yet. So just wanted o see if someone else had the same issue and if they fpund a solution or a workaround.
The documentation provides only an example, not a list of possible values:
https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations/list
And even when I try the example value of the readMask flag I get an error:
[{'#type': 'type.googleapis.com/google.rpc.BadRequest', 'fieldViolations': [{'field': 'read_mask', 'description': 'Invalid field mask provided'}]}]">
I found this similar question:
Google Business Profile API readMask
The example they provide work for me but I still can't get the display name value.
I thought of using the google place ID I get from the metadata response and see if I can use another API to find the name but it feels they should be a proper 'readMask' string vale for the display name here and it is not 'displayName'..
Has anyone a hint of what can I do?
Thanks a lot
If you are trying to get the business name data, your readMask should be 'title'.

Zapier: Updating an Existing Field to blank/null in Process Street

How do you use a zap to remove data from an existing field? For example, the fields "Name" and "Email" have data, but I need a zap that will just set those values as blank/null/empty.
The zap I'm using is for a Checklist in Process Street. There are several fields (i.e., email, name, etc.) that are already populated with data in the Checklist, and I want to remove those data. Of course if you just leave the fields blank in the zap, Zapier ignores them in the update. I've tried looking up environment variables but can't find anything, and blind guessing with inserting a space, "", {{NULL}}, " ", doesn't work. Thank you for your assistance!
The empty string will work in many cases, but if it's acting up, you could try adding a Formatter step and replacing the existing contents of the field (using the field you want to clear from an earlier step as the "find" part of find/replace) with the empty string (the replace part of find/replace). You can see this document for how the Formatter by Zapier app can be used:
https://zapier.com/apps/formatter/help#reformatting-text
This is a bit quirky, so if that doesn't work, you might try reaching out to customer service. They'll definitely have more specific advice for your Zap.
https://zapier.com/app/contact-us

Firebase (Swift) - generate unique ID with numbers only?

Right now, I'm generating unique IDs with childByAutoId(), but was wondering if there was a way to do this only generating numbers, no letters or other characters?
The reason is I need to be able to automatically send this key through imessage (part of how I send invites) and when it contains letters you're not able to automatically select and copy the key without copying the entire text message. With numbers only the key will be underlined and selectable.
Is there a way to either generate an ID with numbers only, or to selectively underline part of an iMessage with MFMessage in Swift?
Thanks!
I've need a similar option. When i create a new user; it will have a numberID which will be unique. I've tried .push() method which is for android, creates a uniqueID but with characters(letters) included. What i've done was something like this;
When i add a new user, i increment a value from different branch which is User2Key in this situation. And gave the value as key(parent) of newly added user.
When i delete or update a user, User2Key will be the same. If i add a new user then it will be incremented so every user will have uniqueID.
You can use a similar approach.
Hope this helps! Cheers!

How to reset the field value on a custom form field?

I have a custom field in Jira and I want to set the value on the field to match the current user.
This seems as though it should be fairly easy, but it has stumped me. I have trawled for information and have been led to using post functions.
Post functions don't seem to actually pre-set the value of fields on the create issue screen unfortunately? I am able to set a value which appears on the issue once it is created using a post function but I cant seem to find a way to set the value on the form itself.
Is this possible?
There is Default Values for 'Create Issue' screen plugin which seems to be doing exactly what you want.

Site column does not get deleted

I have a Site column which i delete programatically using the following code. I have already removed all references to the field previously. However, even if there is not error, it goes to fieldtodelete.Delete() and steps through the next line. However, when i check the Site Column collection using SPM2007 or via the UI the site column is still there.
Dim fieldtodelete As SPField
Try
fieldtodelete = site.RootWeb.Fields.GetFieldByInternalName(name)
'site.RootWeb.Fields.GetFieldByInternalName(name)
fieldtodelete.Delete()
Catch ex As Exception
Console.WriteLine("Field: {0} was not deleted", name)
Return 0
End Try
Any ideas on why sharepoint does this? Also, there are 2 fields with the same name, i am not sure if this has a direct effect on this. I want to delete both.
Thanks
Since there are 2 fields with the same name, their internal names are likely different than the Name. Are you sure the line
fieldtodelete = site.RootWeb.Fields.GetFieldByInternalName(name)
is actually returning a valid SPField? If not, you will need to find the internal names of the fields, which don't necessarily match up to the Names.
EDIT: Since you said that you are getting the fields back, I realized you aren't calling site.RootWeb.Update() after deleting the field. That should fix the issue.

Resources