The tricky part is making the number unique. You can generate a number easily enough using default but you need to make sure you don't create the same number for different forms. Either you need to reference the existing numbers or have a way to certain that the number created is unique. It would be possible to write your own function to generate a six digit number from the now function but you'll have to be careful with your maths to keep it unique.
Hi ronusha. I've made a couple of blog posts about auto-generating a number for the form. You can adapt the principle I used there. There's a link to the blog from the video information.
Hello Jess,
Everytime I add the user roles, and the views a user can access, I cant reopen the form then.
It gives error: Infopath cannot create new, blank form.
Infopath cannot open the form. To fix the problem cotact system admin.
Form template: file:///C:\Documents%20and%20Settings\user\Desktop\New%20TimeSheet.xsn
Your user name or group membership cannot be verified because your security settings do not permit it.
C0oli0F0oli0 1 year ago
Thanks Jess, for such a wonderful explanation in all the videos.
ketansgandhi 2 years ago
You will need to build the workflow in either SharePoint Designer or Visual Studio.
Promote the manager field from InfoPath and you can then use this within the workflow and assign tasks to that person.
JessMeats 2 years ago
The tricky part is making the number unique. You can generate a number easily enough using default but you need to make sure you don't create the same number for different forms. Either you need to reference the existing numbers or have a way to certain that the number created is unique. It would be possible to write your own function to generate a six digit number from the now function but you'll have to be careful with your maths to keep it unique.
JessMeats 2 years ago
Hi ronusha. I've made a couple of blog posts about auto-generating a number for the form. You can adapt the principle I used there. There's a link to the blog from the video information.
JessMeats 2 years ago
I'm afraid I don't understand the comment.
JessMeats 2 years ago