Is it possible to add some meta information to Google Tasks? - google-tasks

I'd like to add some meta information to Google Tasks when creating a new task via API, is it possible? All I can see is a "notes" field which can be read by users, it's not what I need.

Issue:
If you mean adding some custom metadata attached to a Task, not to be seen by users, that's not currently possible.
Here are all the fields in a Task, and as you can see, the kind of field you are asking for is not currently present: Task resource.
Feature Request:
A feature request related to this has been previously filed in Issue Tracker:
Provide means of inserting hidden 'meta-data' to tasks
I'd suggest you to click the star on the top-left in order to keep track of this and to help prioritizing it.

Related

specific or abstract when issuing a event in MSA?

We have blog service that can update the title of the blog.
And we have search service that allows you to search for blog title.
In this system, when blog title changed, search service should put the blog title to search engine
I am trying to implement this requirement using a message system.
The blog service should issue event when the title is updated. There seem to be two options.
Specific. issue BlogTitleUpdatedEvent with blogId and title
Abstract. BlogUpdatedEvent with blogId
First option is specific, It is clear what event occurred but each time another event is added, we need to create one.
Second option is abstract, so blog service not dependent on other services. because we don't have to know what other service doing. we just issue blog update event. but other service should be request data for each requirement
When we try to build message system in MSA, which one would be better? I would appreciate it If you could tell me about your experience.
Related Stackoverflow blog.
You could send both events, but the answer comes down to what you need to consume, and how you plan on using those events.
Ideally, you'd include the title (and other metadata) in the event. Otherwise, you would only know something was updated for that blog. Then you need to query for that blog, and parse everything and perform a diff to see what actually changed (or do a whole document overwrite in your search index).
If you send exactly what is changed, you would reduce the load on the search service / indexer, and save yourself a lookup query to the blog service.

How do I specify the "Trigger" value when starting a Google Cloud build using the projects.triggers.run API

In the builds web UI there is a column labeled "Trigger". For automatically triggered builds it has the value "Push to branch-name branch". This was added recently and is very useful.
I want to add the same (or a similar value) that displays in that column when I use the projects.triggers.run API to run a trigger through the API. I looked at the help page here but I cannot see a way. Is there a way that maybe is not documented yet?
The way to run that trigger would be to specify the Trigger ID. If you were to follow the trigger that links to, the url is in the form ".../cloud-build/triggers/$TRIGGER_ID/..", so you could use that to get the ID.
Best,
Ben

Alfresco activiti review task: required form field on reject

I have an Alfresco (5.2.4) platform with a custom document approval workflow.
When a user rejects a document he/she has to write a comment to justify the rejection, but that comment is mandatory only in that case.
How can I achieve that?
I'm searching for some activiti-like solution, using boundary events or Intermediate Throwing/Catching Events.
On the other hand, can I use a simple javascript dialogue to stop the workflow execution and make the user fill the comment box?
Does anyone know the best approach?
Thanks

How to edit existing place with Google Places API

I am working for a business that deals with auto body shops - we have them subscribed to a service and want to enhance that service by utilizing the Goolge Places API.
I would like to update the places entries by adding or changing specific photos, descriptions and contact info. I realize there is a section of the documentation that deals with adding a 'place report' but I felt this flow was unclear and/or ambiguous.
In other words, what happens when i place this report? Is there a vetting process that only google is involved in? Does this even do what I'm asking it to do? Is this creating a new entry entirely?
Any help on clarification is appreciated. I may have missed the obvious here so if you feel that way let me know with a link please.
The Places Photo service is a read-only API that allows you to easily add high quality photographic content to your application.
https://developers.google.com/places/documentation/photos
Did you not understand the 'read-only' part?

How to get data out of entity in script in CRM 2011

I have 2 entities (for this example) in CRM 2011 - Account and Case. The Account holds all of our clients, the case holds individual work actions for an account. When a case is created one of the input fields is the Account.
What I would like to do is upon the user selecting the Account, execute some javascript to look up the account entity to display some additional information.
So far I have got the javascript working that triggers the onchange event of the Account field, and it correctly gets the selected Account, but I don't know what the next step is.
I'm new to CRM so don't really know if what I'm asking is actually sensible, if there is a better way then please let me know.
Thanks!
For the record, the way you were thinking about doing things would be completely supported, and TechHike's method is supported in CRM 4, not CRM 2011. Steps you would take:
Use CRM 2011's web resources to upload a script file that does what you want.
Use the form editor to make your javascript method from step one fire when the Account field changes on the form
Make a request to CRM's REST endpoint (http://msdn.microsoft.com/en-us/library/gg334767.aspx) to retrieve the details of the account selected
Use the results to populate fields on the form, show a popup with details, etc.
There are plenty of examples of caling the REST endpoint from JavaScript in the SDK (http://msdn.microsoft.com/en-us/library/gg309408.aspx). Good luck!
Matt's post above contains everything you need to know, but you might also find the blog post below useful. It basically describes the same scenario where you have a 1:n relationship (such as Case and Account) and details how you can pull information from a specified lookup (e.g. account), using the REST endpoint (as Matt has already mentioned) and display it on the form.
http://community.dynamics.com/product/crm/crmtechnical/b/crminthefield/archive/2011/02/07/showing-related-information-in-a-crm-2011-form.aspx
The blog post includes a link to download a CRM2011 solution already built to give you something to look at how they've achieved this (useful if you're new to CRM2011).
There are two ways to do this, and you may be best to do them both in parallel:
on the Account > Case relationship edit the Mappings. When a user goes to an Account and uses the left navigation to look at Cases (or a grid of Cases on the form) then hits "Add New Case" they are creating a Case from inside the "context" of the Account. You can copy any fields you want to from the Account to the Case record at this point - the Mappings define what field from the Account are copied to which target field on the Case. This will always be the most robust, easiest way to do it but relies on the user starting in the right place.
on the Case for you could also add an onChange script to the Parent Customer lookup to fetch the data from the parent record. I think Stephen's link is probably the best way to do this as it does not copy the fields but allows the user to see them anyway, which is better database design (from a purist standpoint) and means the user always sees current info about the Account rather than possibly out of date stuff. Alternatively if you actually need to copy some fields (maybe the customer's normal SLA say) so that you can use these in other such as scripts or workflows on the Case then have a look at this article: Disabling the selection of contacts for opportunities all the way
Although this is about a slightly different topic, the script there fetches the Account details of the parent Contact - you want to fetch values from a parent (llokup) field so the approach is the same, just different in the detail
There are various ways to do this but I would recommend doing it the supported way, without javascript. This may not be as pretty but it is likely much easier. The scenario would be to add a left navigation link to the case entity that when clicked will update the content area to show the details of the account.
To add a link to the left navigation you will need to configure the isv.config file to have an extra link for the case entity.
Here's an example:
http://support.sfusion.com/kb/hosted-microsoft-crm-4/how-do-i-modify-the-isv-config-file-in-microsoft-crm-4/
You can also lookup isv.config customizations in the SDK, found here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=82e632a7-faf9-41e0-8ec1-a2662aae9dfb&displaylang=en
Next you will need to create a custom aspx page in the ISV folder of the web server. This page will display all the information about the account that you want to show the user when the left navigation link is clicked. The ISV.config as an xml property that allows you to pass all the context params to your page on the querystring. Make sure when you create the link to turn on this attribute.
Now the only tricky part is that in the page you will need to use the CRM web service to display all the account details that you interested in showing the user. I won't do into details on this. You can find great tutorials on the web or in the SDK if you haven't done this before.

Resources