How to get the value of DateElement after I changed the day/month/year for example. Everytime I changed one of them, the DateValue property is still the old value, but the Value property is changed.
Related
I'm trying to design a Microsoft Flow, which will create a outlook calendar event entry based on information in a SharePoint-online list.
The list will contain a value for a DueDate its a column of type Date, not including time.
I want to be able to create a outlook calendar entry on the date based off the duedate column. The calendar entry form in flow allows via dynamic content to add dates that also include time, however date columns not containing time cannot be added that way.
Is there a workaround to this, some expression that would allow me to fetch values from columns more freely and then possible append a time to it
I have tried converting the column in sharepoint to a Date with Time column and that workaround worked, however its not what I'm looking for. Id like to know how to be able to work around this because I don't necessarily want my column as a date-time column which can cause problems later on.
I have tried this expression:
formatDateTime(concat(item()?['DATE'], '08:00')'yyyy-MM-ddThh:mm:ss')
But I know this is wrong and it doesn't work. I'm simply not sure how to do it.
https://puu.sh/Df5ni/05cb882b23.png
I want the flow to add a calendar entry based off the due date column which i can append my own time to like the start of the day and last til the afternoon.
Actual results are I don't seem to be able to use a date column, just a date-time column for start and end times of the event, date column without time doesnt appear in the dynamic content list.
If there is some way to manually fetch values instead of using the dynamic content that is very powerful and can then possibly be converted to the right format using additional code.
Date column name in my list is date_without_time of type Date (Add time set to NO):
New element:
Function used in Create event (V2) action:
formatDateTime(triggerBody()?['date_without_time'],'yyyy-MM-ddT09:35')
Result:
Calendar:
I want get all values of dropdown and want to store them somewhere. from follwing NASDAQ site https://www.nasdaq.com/symbol/ge/historical i want get all values of Timeframe and want to somewhere so that i can use those values one b one in loop and get the values of stock for all timeframe. Click below image screenshot
It's not that easy to get each of the values, but it's not impossible. First you can get all the values in a Data Item as text. If you spy the element, you will notice that the attribute Value contains what you want. So you will need to use a read stage and get this specific attribute's value (you can ignore the PDF elements):
Doing so will give you the following:
The problem with this is that you cannot use this in a loop. One way around would be to split on space:
And the resulting collection (I called it Split Values) will look like this:
But it's not quite there yet. You should however be able to use this collection to get the collection you need (or use it directly).
If you use it directly, I would say it should look like this:
Empty? has the expression [Split Values.words]="" (notice the last row is blank)
Value is number has the expression IsNumber([Split Values.words])
Set Current Item as Number has expression [Split Values.words] with store value Current Item.
Append word to Current Item has expression [Current Item]&" "&[Split Values.words] with store value Current Item.
I have a DateTime field in my SharePoint 2013 list. I have specified the default value for the field to be =Today. The problem is this only specifies the date part of the field. The time part is left as 00:00. How can I get the time information in there as well.
I want to present the user with the current time as default, which will be used most of the time. However, it should be possible for the user to be able to specify a different time if required.
=Today() gives only the current date, =Now() gives the current date and time.
yourDefaultDate = DateTime.Now();
instead of DateTime.Today();
I found this : Xpages Date Time Picker field defaults to today's date
I tried adding return null as default value for my combobox, but it still returns the first item from the list.
I also tried adding a formula item: #Text(""), but even if the default value is blank, it appears also as an item for the combobox.
Please help, thanks for your time.
One thing I do often for defaults.. and I forget if I do this for Comboboxes or not. But I'll bind the control to a viewScope variable. Then in beforePageLoad I'll set that viewScope variable to "" basically. I find this works better then the "default" option on the pretty properties pain. Maybe you want to give that a try.
In THEORY if that works then it will be blank to begin with.. but once it's changed you might probably can't put it BACK to blank. In order to to that you'd need to have a blank option at the top of your values list.
I am sure that there is a better way to do this, but....
I always use a normal item ojbect with one single space written in as the label and value. Under that I put my calculated values. Then for the default value, I put " ". It might not be pretty, but it gets the job done. When I read the value, before asking if it is empty, I just use #Trim() to make sure that it is indeed a real value.
Of course you could make the label a single white character space with a value "empty" and then use "empty" as your default value. The label would then be a single white space character.
I have this formula in one of the columns in my view in Lotus notes database. However, it does not change the value of the field "EmployeeName" in the view and still displays the original name.
Example:
Original value: Franco Martínez, José Ramó
Expected output: Franco Martinez, Jose Ramo
value1:="i";
value2:="e";
value3:="o";
optionList := value1:value2:value3;
aliasList := "í":"é":"ó";
#ReplaceSubstring(#Text(EmployeeName); aliasList; optionList)
As the formula is absolutely correct, the issue has to be somewhere else.
You already checked, that the field is summary, so this cannot be the issue.
Please check the programmatic name of the column (last tab in the properties):
Does it happen to match another column in the same view or is it probably "EmployeeName"? Then just remove the name, it will be repopulated by a new unique name.
Explanation:
Duplicate programmatic names mean, that both columns show the same value, and the formula of the second columnn is never executed. If there is a Fieldname in the name of the column, then it will always show the value of that field, no matter what the formula sais.
Another explanation could be that "í" <> "í"... Probably one of them is the representation of another Unicode- Character and just happens to "look" like the other one... You can check this using a button or agent that just #Prompts the value after replacesubstring, or copy the content of the field into a Hex- Editor...
You could also try the #Ascii() - #Function to convert to ascii without having to replace characters.