Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Contact Picker broken???

Using the example code for contact picker and added a catch to see what the error is. I'm getting the error TypeError: undefined is not an object(evaluating 'data.name'). Appears that the data variable is null after selecting a contact. I'm testing on my iphone using the Q2 Developer total access app and have given the app permission to access my contacts.

<script>
    window.tecton.connected.then(function(tecton) {
				tecton.sources.pickContact().then((data) => {
					document.querySelector('#recipient-name').value = data.name;
					document.querySelector('#recipient-phone').value = data.phone[0];
					document.querySelector('#recipient-email').value = data.email[0];
				}).catch((err) =>  {
						 document.getElementById("demo2").innerHTML = err;
				});
	});
</script>

Votes Newest

Answers


Hi Draden!

Thanks for your reply on the other post. I did a little digging with the Q2 Dev mobile app and found an issue with the pickContact api that needed to be resolved. Got that in yesterday and it should be released on Tuesday (5/16) in the Tecton 1.26 release.

Posted 3 years ago
0

@<1471129080068837376|Adam Chester> is this still being released today?

— Draden Gaffney   3 years ago
0

Thanks @<1471129080068837376|Adam Chester> the fix works!

— Draden Gaffney   3 years ago
110 Views
1 Answer
3 years ago
3 years ago