I hope someone can help me with this. I have created a form using PowerApps which requires users to enter a time in the format of hours and minutes as separate fields.
I now need to create a list in SharePoint to hold the data, however, I'm not sure how to combine the hour field and minute field into one field so that a time can be kept correctly. I have been looking online and tried a few things, but SharePoint simply says "something went wrong".
Alternatively, if PowerApps has a time picker that would work too.
I probably have gone about this the wrong way. Can someone help?
Thanks.
There is no time picker in powerapps unfortunately. To select the current time, you can use this function: Text( Now() ; DateTimeFormat.LongTime24 ). This returns the current time, "09:45:10" for this moment.
Lets say you have two text inputs. One for hours (hours_input) and one for minutes (minutes_input). To merge both together you can do the following:
hours_input & ":" & minutes_input
OR
Concatenate(hours_input.Text; ":"; minutes_input.Text)
Best Regards
Related
I have a list in Sharepoint that includes the following snippet:
When I use a gallery in Powerapps, and link this list to it, the date and time display shows a different value for the time. For example, entry number 1's date and time look like this: 07/01/2022 19:40.
So the date has been converted to something else.
I don't know how to address it. Can anyone help?
Good question!
Sharepoint actually saves your times in UTC. This means that once PowerApps loads that time and corrects it to your time zone, the date and time could be different.
https://learn.microsoft.com/en-us/previous-versions/office/sharepoint-csom/jj164700%28v%3doffice.15%29
Basically, you take the UTC time and add your local time difference, that gives you the correct one :)
I would like to premise that I am not a coder, and have limited SharePoint experience. Nonetheless, I have a task at work to create a new tool for a group at work. This tool will allow them to track things through its life-cycle. The old tool will stop being used once they hit the 49,999th record. At that point we will transition to SharePoint. The prior numbers will live with those records and we will be unable to start back at the number 1.
My goal is to have an ID field for each record that incrementally grows starting from the number 50,000.
I tried creating a new calculated formula field that does 50,000 plus the ID but it does not work effectively. There tends to be a lag. The lag can be anywhere from 5 minutes to a day or two. In turn, I need an alternative option.
With a friends coaching, I am messing with SharePoint designer to automatically create a record once one is deleted and delete one every time one is created. However, this times out occasionally. Even more so, it is extremely slow. It will take me a week or so to get to 50,000. Does anyone have any experience or expertise to assist me? It is very appreciated.
The way I did it was to create another field and used that in all my views. Update it through a SharePoint Designer workflow on create - set the field to ID+50000, for example, or whatever you need. Maybe give it a bit of a buffer and set it to ID+51000. By the time the workflow is running the ID has been created and you can use it in a workflow.
If you are going to be moving your old records to the list, you can change the workflow to only update the new field if it's blank. That way you can save the original ids.
I have table with employees. It contains some information and also date of birth. Is it possible to send notification/email (directly from excel) let's say 7 days in advance to know that he/she will have birthday soon?
I found some tutorials, but all require Visual Basic. Unfortunately, it is for my sister without any knowledge of programming.
Yes, it is possible to do this via Word's mail merge feature. But since this would require quite a few manual steps (presumably on a daily/weekly basis), I'm afraid it's not what your sister is after. You could code a similar feature in VBA but that would still require her to open the document regularly to run the macro so perhaps it would be quicker and simpler to just check a filtered employee list.
If you want a closer look at mail merge, try this. You could use a helper column to identify which birthdays are close (e.g. using this) and filter on that column, then you show only those whose birthdays are in the next x days.
I have two view, one is sorting 2011 data and the other one is sorting the 2012,
2013 is coming and I think, create another view is not good. Then I tried to code a formula to call the data in my database and send to view but it's not working .
please help me :)
I think your best option is to create another view. Notes doesn't do well with dynamic view selection formulas.
Another alternative to consider is to use categories to group data by year. You could then set up an embedded view that shows only a single category, which could be determined by a drop-down field that shows the available years.
A solution I have used when dealing with weekly or monthly date is to use an agent to create a new folder every week and to put the correct documents in the folder. But this is a lot of work and if there is a high volume of data you can run into problems with some of the internal limits of the Notes database structure. Someone with expert level knowledge of Notes can probably manage this, but I do not recommend it as a general solution -- and certainly not for yearly data.
Adding a view once a year is really not that bad. It's two minutes of work every 12 months, just copying and renaming the previous year's view and changing the selection formula.
I am developing a Daily list view ('Todays Support List') that displays support coverage for my company. Certain people are on-call for certain periods of time (days, or weeks)
I need to have a list that displays any events that are occuring on a particular day (today), which will show people who is on-call for that day.
The logic I have developed bases it's calculation on the begin and end date. If the begin date is later than yesterday, and before tomorrow, it shows in the list view. This works great if the appointment begins today and ends today, but if it begins last week and ends next week, it won't show up at all.
What I wish Sharepoint had built in, is the option to filter events that have [Today] anywhere between the Begin or End date.
I figured I would give it a shot from Sharepoint Designer and create a workflow (as the workflows have more options than the front-end) but I am stumped as to how to go about this. Many ideas have shot into my mind, but none of them have panned out due to ONE missing feature...
Has anyone ever tried to do anything remotely similar to this?
Create a view for the list and set the filter so that 'begin date' is less than or equal to [Today] And 'end date' is greater than or equal to [Today].