For some files the content_create_at field is set to a date that is later than the content_modified_at field. How can that be? Is this simply because these are the dates set by the client?
I have read http://developers.box.com/content-times/.
John is right. There is (likely) some client that is setting one or the other field. In general we recommend setting both the fields when you set them, so you don't provide confusing dates to other systems.
Related
So I'm working on a form that makes use of database grids, I'm having an issue where I need to auto-default a field based upon the amount and GST fields. This will always auto-default my field for the user until the point where they manually change my field, at which point it obviously will not do anymore defaulting for that record.
Any ideas on how I can achieve the recognition of a manually modified field in Delphi? Please note I'm not talking about the manual modification of a record so the following code is not applicable to my situation (unless you can somehow find a way to use it).
Much appreciated!
Populate the value in the field when the amount or GST changes, and then calculate whatever the field is you want to auto-default. Allow the user to change it, and don't react to that change unless the user modifies the amount or GST again. You can use the TField.OnChange event (on the amount and GST fields) to do so.
We have labels in JIRA. This "labels" is predefined field and not a custom field as I observed.
The labels are auto-complete fields and any value can be assigned to it.
I want these labels to pick values only from a set of values. Is there a way to do this?
Also, is it possible that the set of values can be uploaded from a list/excel/csv?
The easiest way to do this would be to add a custom field with your required settings (a single value or maybe a multi-pick selection).
I use the Jira Cloud solution and I'm not aware of any way to import values into custom fields. If you have a local installation and have a developer to help you might be able to find a way to import them but I'm guessing it might be easier/faster to do it manually even if there are a hundred or so.
I need to check if the value of the effort field is greater than 5. If this condition is true the item has to be approved, so in that case the next state has to be another than if the effort is less or equal 5.
Is there any opportunity to set this condition?
Can't be done
<TD;DR>
There is no such rule and since field Effort is a double typed field, it's not possible to use a list of allowedvalues (which would have worked for an integer field). Tools like the TFS Aggregator won't help either, as they can only act post-changed, there is no pre-validation support for Work Item changes on the server side.
Some work items have estimate time, completed time and remaining time but out the box they do not have any defaults.
When editing the Work Item templates using Powertools you can set a default and you can also set a formula (although it seems to be a dropdown list).
How would you set the "remaining work" default value to be Estimated - Completed?
The field formula that is displayed in the field definition window is for other purposes. You can use it to set the forumula that is used by TFS Reporting Services.
It is not possible to set a calculation for remaining work in the workitemtype. You could accomplish this by writing a custom TFS event that is raised when you change the completed work.
I hope this answeres your question.
Regards,
Jeroen Niesen
I have 3 steps, each step is its on view. On step 1 I ask for the start date/time(they can pick timezone and time) and store it as UTC, on step 3 I want to show the date/time based on the timezone they selected, without knowing which timezone they selected (don't store it, as users see it based on the computer timezone).
I want to know the best way to do this. I was thinking storing the tempdata, and then re-storing it. Though it doesn't seem like a best practice.
If the model(s) you use for steps 2 and 3 have a Timezone property, you could store the value in a hidden field and have it posted back to you, like this:
Html.HiddenFor(model => model.Timezone);
Alternatives would be putting the value in a cookie (and perhaps then using a CookieValueProvider to get it back) or putting it in session, although the last option isn't really how MVC is 'meant' to be used.