Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

InfoPath/sp 2007 Task list Assigned to field value issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Junaid Raza - 16 Jul 2007 13:38 GMT
I am submitting an info Path form to a form Library in SP 2007. I am
using List Webservice as secondry data source behind a button (VB .Net
code) to extract information from different fields and push them into
a task list so that a task is assigned to a specific user. All other
fields are going correctly in the task list except "Assigned to" when
i checked an assigned to value using SP Explorer it seems its formt is
like "88;#Username". 88 is variable, different for diff users'. Can
anybody help how i can get this format for a user selected in the form
to be set as "Assigned to" in task list at run time?
Shiva (GGK Tech) - 17 Jul 2007 06:46 GMT
Hi,

You can concatenation of that variable and user name with ‘;#’ using cancat
function. After adding those strings in one variable then you can set the
assigned to be value in that list.

Signature

Shiva
http://www.ggktech.com

> I am submitting an info Path form to a form Library in SP 2007. I am
> using List Webservice as secondry data source behind a button (VB .Net
[quoted text clipped - 5 lines]
> anybody help how i can get this format for a user selected in the form
> to be set as "Assigned to" in task list at run time?
Junaid Raza - 17 Jul 2007 10:59 GMT
On Jul 17, 10:46 am, Shiva (GGK Tech) <shivapo...@rediffmail.com>
wrote:
> Hi,
>
[quoted text clipped - 16 lines]
>
> - Show quoted text -

Sorry if i didn't explain at the 1st place but concat is no problem,
my problem is how to get this variable (88,89,105) its different for
different user. so any idea what exactly it is, if it comes from
people object then how can i extract it for each user?
K.Ramana Reddy(GGK Tech) - 17 Jul 2007 11:36 GMT
Hi,
Is the user enters the value 88,89... in the forms or are you populating hte
value based on user?
Signature

k.Ramana Reddy
http://www.GGKtech.com

> On Jul 17, 10:46 am, Shiva (GGK Tech) <shivapo...@rediffmail.com>
> wrote:
[quoted text clipped - 23 lines]
> different user. so any idea what exactly it is, if it comes from
> people object then how can i extract it for each user?
Junaid Raza - 17 Jul 2007 12:14 GMT
On Jul 17, 3:36 pm, K.Ramana Reddy(GGK Tech)
<KRamanaReddyGGKT...@discussions.microsoft.com> wrote:
> Hi,
> Is the user enters the value 88,89... in the forms or are you populating hte
[quoted text clipped - 31 lines]
>
> - Show quoted text -

User selects the Assigned to from an already populated drop down, the
point is when i pass this User name as it is in the code to go into
assigned to field in task list, it never works, i then added a manual
task in task list, and filled assigned to with soem user. then i used
sharepoint explorer to see the actual value in assigned to field , and
it was something like 'Number;#Username' e.g '88;#Junaid Raza'. Now i
dont understand what exactly is this 88 or other number, i need to get
this number for each user while submitting the field values and then
concate this number along with user name.....
sunny - 20 Jul 2007 00:56 GMT
the "88" is the user's id in the sharepoint site. you can use the id in the
code to grab the site user instance.

> On Jul 17, 3:36 pm, K.Ramana Reddy(GGK Tech)
> <KRamanaReddyGGKT...@discussions.microsoft.com> wrote:
[quoted text clipped - 43 lines]
> this number for each user while submitting the field values and then
> concate this number along with user name.....
Junaid Raza - 20 Jul 2007 21:22 GMT
> the "88" is the user's id in the sharepoint site. you can use the id in the
> code to grab the site user instance.
[quoted text clipped - 48 lines]
>
> - Show quoted text -

Hi,
I got the solution, i need to use UserGroup web service, it has a
method named GetUserInfo, it is passed User login, and it returns XMl
node of user details including User ID, i extract that ID and use it
in "Assigned to" field and it works.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.