InfoPath - Populating People/Group field works on Create, but not on Edit
Hi- I have a scenario where there are a few data connections hooked up to a primary form. One of those data connections is connected to an assignment list. It consists of 3 columns (Warehouse(Text), Primary
User(People/Group), Secondary User(People/Group). This list is meant to be a dynamic source that my main form uses to determine assignments. I have a button that pulls in the data from that list onto my form. I am assigning the DisplayName to my DisplayName,
the Account ID to my AccountID and the AccountType to My AccountType. This works just fine when I go to create an item--> all values populate correctly, I can save my form with all of the newly brought in values.
For some reason, every time I open the form after that and try to use the same button, the query runs as normal, but my people/group fields do not populate - assuming they are not already populated. I
have validated that the rules are running and they are running with the values I want (I have written the values from the people/group fields to text fields and they appear to be correct).
I did look at the SP logs and it gave me this: Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32
value).The StateManager is disposing and calling ReleaseLockedStates() (Count=0).
Any thoughts? I have not gotten any errors when interacting with the form. I had to pull this from the ULS logs.
Thanks, Jesse
Jesse A. Brandenburg
The rules go as following:
1) Switch Views to a more specific view (less fields showing)
2) Query Data Connection for assignments
3-12) Set primary contacts
This looks at my assignment list and based on the location sets the display name, account id and account type on
my form, based on what exists on the other list
*I have the same thing happening for 10 fields based on location. I am using a filter for each one to identify the correct location populates that person field.
13) I am setting a field to true that identifies that the rule was just run with a sign and date of username.
I have verified that the values are trying to be populated by looking at bothe the default values of the display name, account id, and account type of my people picker fields, however they are not showing anything within the picker itself. Additionally
I have a view that shows my assignments data connection that is populated correctly.
Thanks for your response -
Jesse
Jesse A. Brandenburg
Similar Messages
-
Query works in Report but not during Edit session
I have a report based on an SQL query, and it works perfectly from the menu in Development. It's also in Test and Production, and it works there, too. I want to change the template it's on, so I went in through the Navigator to open up and change the report. The Edit session opens up to the query, but I cannot move to any of the other tags, because it says the query is "not valid".
It won't allow me to save the query 'as is', because it supposedly isn't valid. The report isn't locked, and prior versions (I went back to view five of them) have the same trouble. How can the query work off the menu, but not be 'valid'? We installed a patch recently, but even so, why would the query work in one spot and not another?
Anyone have any ideas on what I can do?
Pat MurrayHi,
Please give me the query and the error the error you are getting.
Thanks,
Sharmila -
Tiger Server: Default MySQL works for phpMyAdmin but not command line ? ? ?
Greetings all,
I followed the excellent instructions at
http://discussions.apple.com/thread.jspa?threadID=132783&tstart=0
on upgrading PHP to version 5 and getting (the preinstalled) MySQL setup with phpMyAdmin
I can connect through the phpMyAdmin, create new dbs, etc. Problem is that now I CAN'T connect from the command line. (I originally set my new root password from the command line and that's the last time I could connect from there!
Now I get the dreaded ERROR 2002 when I attempt:
/usr/bin/mysql -h localhost -u root -p
If I use the IP address or hostname instead of "localhost" (after -h) I get a ERROR 2003. Dropping the -h and hostname from the line above still gets me a ERROR 2002.
My phpMyAdmin config is a connect type "TCP" not socket, which might be one reason it works and the command line doesn't, but I still don't know where I've gone wrong.
My /var/mysql/* is all owned by mysql and group www.
I'm finding lots of people asking about the ERROR 2002, but not finding any solutions (particularly for Tiger Server). I'd prefer to use the preinstalled MySQL to installing a new installation (the thread referenced above says upgrading or removing the MySQL installation is too hard to do) and there has GOT to be a reasonable explanation for why it works with phpMyAdmin, but not the command line.
Thanks in advance for any replies!
Many Mac OS X (10.4.3)You know what? I think when I started mysql_safe, I did it with sudo. Maybe that is my problem?
If so, what user do I want to start it as? I've seen one suggestion of doing this:
./bin/mysqld_safe --user=mysql & -
Specific extractor works in DEV but not in QUAL
Hello Everybody
I have new problem : I created a specific extractor ZCRM_SRV_PROCESS_I based on specific FM based on RSAX_BIW_GET_DATA_SIMPLE.
This extractor have to retrieve specific fields of Service Order Item (linked document type BUS2000116)
In DEV it works fine for loading INIT & DELTA
In QUAL, loading INIT does not work but loading works for some records...
Loading finish with following message :
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Extractor .
Refer to the error message.
Job is cancelled in source system with small text :
19.04.2011 14:51:05 Job started
19.04.2011 14:51:05 Step 001 started (program SBIE0001, variant &0000000022545, user ID ALEREMOTE)
19.04.2011 14:51:05 Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
Do you know why it works in DEV but not in QUAL ?
Thank you
Cyril
Edited by: cyril meslin on Apr 20, 2011 9:53 AMThere is no problem of authorization. In RSA3 it's ok for some records but too long for full of records.
In fact, my FM make a first select after to be determined init or delta mode :
IF i_updmode = 'D'.
SELECT i~guid h~object_id h~guid h~process_type
INTO TABLE st_zcrmt_bw_i
FROM crmd_orderadm_h AS h
INNER JOIN crmd_orderadm_i AS i ON h~guid = i~header
WHERE h~object_id IN lr_object_id
AND h~changed_at >= lv_timestp
AND i~guid IN lr_item_guid
AND ( i~product_kind <> 'X' OR i~product_kind <> '' )
AND ( h~process_type = 'ZSOL'
OR h~process_type = 'ZSPE'
OR h~process_type = 'ZSVO'
OR h~process_type = 'ZSVT' ).
ELSE.
SELECT i~guid h~object_id h~guid h~process_type
INTO TABLE st_zcrmt_bw_i "PACKAGE SIZE I_MAXSIZE
FROM crmd_orderadm_h AS h
INNER JOIN crmd_orderadm_i AS i ON h~guid = i~header
* UP TO I_MAXSIZE ROWS
WHERE h~object_id IN lr_object_id
AND i~guid IN lr_item_guid
AND ( i~product_kind <> 'X' OR i~product_kind <> '' )
AND ( h~process_type = 'ZSOL'
OR h~process_type = 'ZSPE'
OR h~process_type = 'ZSVO'
OR h~process_type = 'ZSVT' ).
ENDIF.
Then FM CRM_ORDER_READ is running for 500 records to retrieve header data :
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
iv_no_auth_check = abap_true
it_header_guid = it_guids "500 records
it_requested_objects = lt_requested_objects
IMPORTING
et_orderadm_h = lt_orderadm_h
et_service_os = lt_service_os.
Then this FM is running for 10 records for item data (max 10 because FM CRM_ORDER_READ does not work for more records) :
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
iv_only_spec_items = abap_true
it_item_guid = it_guids "10 records
it_requested_objects = lt_requested_objects
IMPORTING
et_orderadm_i = lt_orderadm_i
et_sales = lt_sales
et_appointment = lt_appointment
et_status = lt_status
et_text = lt_text
et_subject = lt_subject
et_doc_flow = lt_doc_flow
et_customer_i = lt_customer_i
Perhaps if I succeeded to improve SELECT & call of CRM_ORDER_READ, it would be better but I don't know how to do... -
SanDisk ImageMate works on Vista, but not on Leopard
I bought an iMac when my old Windows XP machine from Dell died last Christmas, and am mostly very pleased with it. I used Boot Camp to install Vista Home Basic on it also, because I still needed to run some Windows software.
I recently acquired a digital camera from my daughter, along with a SmartMedia card reader by SanDisk (model SDDR-55 ImageMate). On the SanDisk website I found a driver for Windows that would work for 95, 98, ME, 2000, and XP. I downloaded it after not finding one for Vista listed. Similarly, there was a driver that would work for Macintosh OSX and OS 10.1. I downloaded it after not finding one specifically for Leopard.
I installed both drivers under their appropriate OSes and plugged the ImageMate into a USB port on the computer. What I found was that it worked fine under Vista but was not recognized at all by Leopard. I contacted SanDisk and they had me verify that it was not a problem with the USB port. Also, they had me try to install it on another Mac (my daughter has a Mac laptop running Leopard) and it didn't work there either. So I know the ImageMate works and the USB port works.
SanDisk then suggested I contact Apple. Is there anything I can do to get the ImageMate working on Leopard?
One thing I noticed was that when I ran Terminal and went to /System/Library/Extensions and looked at a couple of files created during the install on the Mac, the owner and group were different from all the other files, so I made them match the others thinking file ownership might be the problem. Alas, it was not. (I did the install while logged in as admin.)
Can anybody point me in the direction of what to do next?
Thanks in advance,
SherryMany thanks to both of you for responding. My guess is that my ImageMate is getting old and SanDisk isn't going to help support it. I'm sure they'd rather I replace it by buying one of their newer models.
One of my lesser attractive qualities is that I am cheap, and hate to throw away anything that still works. Since this little doobie still does (under Vista), I'll probably limp along with it there until I can't stand it anymore and buy a new one. I appreciate learning that some require drivers and some don't: that will help when it comes time to buy a replacement.
Neither here nor there, but this is the 2nd device I've had difficulty with getting to work on Leopard but not on Vista (the other being my HP PSC 1315xi printer/scanner/copier). -
Custom F4 help in a BSP application working in Mozilla but not in IE
Hi,
I have created a custom F4 help in a BSP application.
It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
Can someone please suggest a possible solution for this?Hi,
See simmilar discussion in thread /thread/1883519 [original link is broken]
I think this may be helpful for you.
Thanks,
Chandra -
Wifi works at home but not when away from home
My Wifi works at home but not when away from home, what is wrong? I thought with a phone plan I didn't need to have a wifi connection.
You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some. -
Spry tooltip works in IE but not Firefox
Hi,
I don't understand or can't figure out what I have done wrong. I have created a tooltip for the last product (4 inch diameter Vortex Water Revitalizer in copper (special order)) on the page: http://www.alivewater.net/order.htm
It works in IE but not Firefox... I can't figure out why... can you help me and see what I have done wrong?
Eternally grateful,
StarryI think I fixed the problem.. maybe you had looked at it after it was fixed. I do appreciate your help though!
-
Spry form validation working in IE but not in Firefox or...
Ok putting together a contact us form and would like a few
fields to be required. It works in IE7 but not in Firefox, Safari
or Google Chrome. In IE7 I get the error msg for no valid email but
in the other browsers it just does nothing. Here is the link to the
page
Aspen
Homes
Can anyone help with this? I have used Spry on a couple other
site and never had an issue. I am updated to the most recent
version also. I am running
Vista Ultimate (64-bit)
DW CS3 or DW CS4 (both do the same thing)
I have attached my code here in a txt file
Page
Code
thanks
BAnyone?
-
Sockets work on localhost but not remotely?
hi there,
I have created a simple multithreaded client / server program.
The Server listens on port 2222 for clients. When a client connects - the client sends its ip address to the server and then disconects. More than 1 client can connect at the same time to the server and the server also listens continuasly. I have 2 problems with the program...
a) the programs work on localhost but not on remote machines? (Well not over my LAN anyway).
b) I am getting 2 lots of 'datain' when the server recieves an ip address from the client when the client should only send it once.
The code is below - any help would be greatly appreciated.
//TCPServer.java
import java.io.*;
import java.net.*;
class TCPServer {
public static void main (String args[]) throws IOException {
ServerSocket serverSocket = null;
boolean listening = true;
try {
serverSocket = new ServerSocket(2222);
} catch (IOException e) {
System.err.println("Could not listen on port: 2222");
System.exit(-1);
System.out.println("Server Started...\n");
while (listening)
new TCPServerThread(serverSocket.accept()).start();
serverSocket.close();
//TCPServerThread.java
import java.net.*;
import java.io.*;
public class TCPServerThread extends Thread {
public Socket socket;
public TCPServerThread(Socket socket) {
super("TCPServerThread");
this.socket = socket;
public void run() {
try {
BufferedReader datain = new BufferedReader (new InputStreamReader
(socket.getInputStream()));
System.out.println("ip address recieved");
System.out.println (datain.readLine () + "\n");
} catch (IOException e) {
System.err.println("Cannot read in ip address\n");
e.printStackTrace(); // show the error
System.exit(-1);
} //TCPClient.java
import java.io.*;
import java.net.*;
class TCPClient {
public static void main (String args[]) throws Exception
String hostname;
int portNumber;
String portString;
BufferedReader inFromUser =
new BufferedReader (new InputStreamReader(System.in));
System.out.println("What host would you like to connect to?");
hostname = inFromUser.readLine();
System.out.println("What port would you like to connect to?");
portString = inFromUser.readLine();
portNumber = Integer.parseInt(portString);
System.out.println("Connecting to port " + portNumber + " of " + hostname + "....\n");
Socket clientSocket = new Socket(hostname, portNumber);
Socket sock = new Socket (InetAddress.getLocalHost(), portNumber);
BufferedWriter dataout;
java.net.InetAddress i = java.net.InetAddress.getLocalHost();
System.out.println("Sending ip address...\n" + i.getHostAddress());
dataout = new BufferedWriter (new OutputStreamWriter (sock.getOutputStream()));
dataout.write (i.getHostAddress());
dataout.flush();
sock.close();
clientSocket.close();
}Oh, yeah - check out my site below, I am trying to write an audio streaming client / server in Java if anyone is interested in getting involved or just being nosey....
http://www.projectg.dsl.pipex.comIn your client you are creating two sockets (why?). One connected to localhost, the other connected to the host specified using readLine.
If your client runs on the same machine you have started your server, you have two connects to your server instead of one.
The ip adresse is sent using the socket connected to localhost. That is why it does not work on remote machines.
Hope this helps.
Jörg -
Rollovers work in Netscape but not IE?
I have the rolloverbuttons working great with Netscape but when I run my app in IE the images aren't showing up. The jar is loading fine and when I use the default rollovers ( [ROLLOVER]exit ) they work fine, but my images aren't showing up. Thanks for any and all help.
Jeremy.Hytrical wrote:
The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7) which displays page errors.
I didn't see any errors when I looked at yourhome page in IE7 (on Vista). So which page elements were producing an error and what was the error you were seeing? Did you delete the cache in IE7 to check whether it was a caching problem? Tools > Internet Options > Browsing history (choose to delete)?
John -
BAPI works in test but not in production
3rd party software uses BAPI to input data into SAP. This works in test but not in production. We have checked that user 3rd party software uses have same rights in both systems. BAPI is standard SAP BAPI. We can connect to production with SM59.
Is there anything in SAP that could cause this?No. Better you check with the PATCH Levels.. etc to know is there any changes in the BAPI (BASIS people can help you) > Otherwise go to SYSTEM in the MENUBAR> STATUS--> Compare the Status there
After that check the data once...
Reward if helpful... -
In line view works in 9i but not 11g
The following subset of a larger in ilne view works in 9i, but not in 11g. Any thoughts on why it doesn't work in 11g. An 'ORA-00979 : not a group by expression' message is displayed. This error message refers to the last 'group by' statement.
select a.appl_start_term
,count(*)apps
,acc_total--, acc_gre
from datatel_snap.applicant_current_part a
, datatel_snap.acad_program b
--accepted
select appl_start_term
,count(*) acc_total
--, sum(decode(test_grev,null,0,1)) acc_gre
from datatel_snap.applicant_current_part a
, datatel_snap.acad_program b
, datatel_snap.dept c
where appl_admit_status_cat in ('MASTER')
and substr(appl_start_term,5,1)= 'F'
and appl_school='SIS'
and a.appl_acad_program = b.id
and b.dept_1 = c.id
and (derived_appl_disp = 'AC')
group by appl_start_term
) z
where appl_admit_status_cat in ('MASTER')
and substr(a.appl_start_term,5,1)= 'F'
and appl_school= 'SIS'
and a.appl_acad_program = b.id
and a.appl_start_term = z.appl_start_term(+)
group by a.appl_start_term ,acc_total--, acc_gre
order by 1
Edited by: user8377830 on Jul 17, 2010 10:05 AM
Edited by: user8377830 on Jul 17, 2010 10:10 AMFine, you shoud do do either:
- a group by "acc_total" or
- use an aggregate function on "acc_total" (like: sum(acc_total), max(acc_total) etc.)
Edited by: user11268895 on Jul 17, 2010 7:14 PM
sorry id didn't read carrefully your statement...
Try to prefix the column acc_total with "z." (both in the select and in the group by expression)
SELECT a.appl_start_term, COUNT (*) apps, z.acc_total --, acc_gre
FROM datatel_snap.applicant_current_part a,
datatel_snap.acad_program b,
--accepted
SELECT appl_start_term, COUNT (*) acc_total
--, sum(decode(test_grev,null,0,1)) acc_gre
FROM datatel_snap.applicant_current_part a,
datatel_snap.acad_program b,
datatel_snap.dept c
WHERE appl_admit_status_cat IN ('MASTER')
AND SUBSTR (appl_start_term, 5, 1) = 'F'
AND appl_school = 'SIS'
AND a.appl_acad_program = b.ID
AND b.dept_1 = c.ID
AND (derived_appl_disp = 'AC')
GROUP BY appl_start_term) z
WHERE appl_admit_status_cat IN ('MASTER')
AND SUBSTR (a.appl_start_term, 5, 1) = 'F'
AND appl_school = 'SIS'
AND a.appl_acad_program = b.ID
AND a.appl_start_term = z.appl_start_term(+)
GROUP BY a.appl_start_term, z.acc_total --, acc_gre
ORDER BY 1.. and use different aliases in your subquery (not the same a the main one).
Edited by: user11268895 on Jul 17, 2010 7:23 PM -
Slide show works on PCs but not on Macs
A parent at the school where I teach has just created a
website for us. She used Dreamweaver and photoshop to create it.
There are some pages where there should be a looping slide show
(that runs on its own). These slide shows work on PCs but not on
Macs (it just stays on one photo on Macs). For the slide show she
"just added a timeline to the jpg image, changing the imagesource
every 60 frames, that you can do in dreamweaver." Is there some way
to fix this so it works on both?
Here's the school's website: www.smash.smmusd.orgUnfortunately, the timeline function may not be the best way
to do this.
Notwithstanding Joe's comments about 508 compliance, there
have been issues
reported in the past regarding the use of timelines on Macs.
It may be
better to seek some 'banner rotation' scripts using Google,
and replace the
timelines with that script. Your volunteer may or may not
know how to do
that....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Joe Makowiec" <[email protected]> wrote in
message
news:[email protected]..
> On 16 Jun 2007 in macromedia.dreamweaver, Mana Hale
wrote:
>
>> A parent at the school where I teach has just
created a website for
>> us. She used Dreamweaver and photoshop to create it.
There are some
>> pages where there should be a looping slide show
(that runs on its
>> own). These slide shows work on PCs but not on Macs
(it just stays
>> on one photo on Macs). For the slide show she "just
added a timeline
>> to the jpg image, changing the imagesource every 60
frames, that you
>> can do in dreamweaver." Is there some way to fix
this so it works on
>> both?
>>
>> Here's the school's website: www.smash.smmusd.org
>
> I'd worry about accessibility/Section 508 issues before
I worried
> about slideshows. That page is all images.
>
>
http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1=http%3A%2F%2Fwww.sma sh.smmusd.org%2F
>
http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=2&url1=http%3A%2F%2Fwww.smas h.smmusd.org%2F
>
> --
> Joe Makowiec
>
http://makowiec.net/
> Email:
http://makowiec.net/contact.php -
Rollovers & actions work in Firefox but not IE
Hello,
The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7), which displays page errors. Is there a way to fix this? I acknowledge that the site needs replacing but while it's still running my client wants it fixed.
I set up a test page at www.lamps-on-line-com/test.html in which I took off all rollovers and actions, and this loads OK but I really don't want to have to resort to doing this on every page.
I wondered if it is somrthing to do with 'Doctype'?
Hope someone can help.
StephenHytrical wrote:
The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7) which displays page errors.
I didn't see any errors when I looked at yourhome page in IE7 (on Vista). So which page elements were producing an error and what was the error you were seeing? Did you delete the cache in IE7 to check whether it was a caching problem? Tools > Internet Options > Browsing history (choose to delete)?
John
Maybe you are looking for
-
Access Denied Error:5 Adding Package to .WIM with DISM
I am trying to add .CAB packages to a custom .wim file. I am able to mount the image, but upon trying to add .cab packages to the image, it gives me an error like: An error occurred - Package_for_KB2588516 Error: 0x80070005 Error: 5 Access is deni
-
Unable to read contents of SOA server in jDeveloper
I am trying to add a new Application Server resource in jDeveloper. I have done so on one machine without problems Windows XP jDeveloper : ADF Business Components 11.1.1.61.92 Java(TM) Platform 1.6.0_24 Oracle IDE 11.1.1.6.38.61.92 SOA Co
-
Re: HP7610 won't print 11X17 BORDERLESS
I have followed the instructions to print borderless on 11x17 from two software platforms: Acrobat X and Revit 2015. Each time, a portion of the page is printed, then "print cancelled" displays on the printer display and the page comes out half-don
-
How do I find the total number of elements in a multi dim array
How do I find the total number of elements in a single or multi dim array? For example, a 2x3 array has 6 elements, and a 2x3x4 has 24. How do I compute this very easily - is there a single VI that does this? David Solved! Go to Solution.
-
Why do I have so many shared computers listed in finder since upgrading to Yosemite
Why do I have so many shared computers listed in finder since upgrading to Yosemite? The shared list grows. Why?