• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

InfoPath- Default Display Name won't appear in Drop Down List

Having an issue with default display names to appear on drop down menus on a form I'm designing. (see blank display names jpg)

The data connection for the field is linked to an external SharePoint server. I would like for Series/Grade/Position Title to appear in the drop down menu not have to make a separate cell/table above it. The "Bargaining Unit" drop down is correct because it is a manually key'd in data list rather than a data connection. (see field props jpg)

Thanks for any help you can provide.
blank-display-names.jpg
field-props.jpg
0
-Polak
Asked:
-Polak
  • 4
  • 4
2 Solutions
 
Clay FoxDirector of Business IntegrationCommented:
First I would put a repeating table of the sharepoint data on your form and make sure it is loading in your form.

Are you querying it on load?

I do not quite understand what you are asking?

Are you wanting cascading dropdowns or do your want just one dropdown?
0
 
-PolakAuthor Commented:
Yes all the data/values from the list load perfectly fine.
Yes they query on load.

In the properties you have "Display Name:" and in the option it has "@Position_Title", I cannot change it from saying "@Position_Title" and no-where do I see an option on the Sharepoint server to enter in a default value for a particular column.

All I want is for the column names in the list (Series, Position Title, Grade, etc..) to appear inside the drown down menu rather than me having to make static text above each drop down.
0
 
Clay FoxDirector of Business IntegrationCommented:
Oh ok.

I would either create a rule then that sets those values, maybe on load or some other thing if you want them dynamic or controlled. Or set your fields that the dropdowns are bound to (field64) to have a default value (PositionTitle).

The dropdown cannot be manipulated the same with external data as manual entries.
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
-PolakAuthor Commented:
Lame. There should be a more intuitive way to do it.

For the sake of creating a good solution for others to read do you mind posting a step by step on the rule creation, I realize its pretty straight forward, but for the sake of a good solution it should be there.
0
 
Clay FoxDirector of Business IntegrationCommented:
tools, form options. open rules for a rule on open of the form.
Create a new rule with no conditions so it runs under all circumstances
use a setfield action on field64 with the value ceo
0
 
-PolakAuthor Commented:
"value Ceo"?
The only thing that I would emphasize to the readers of this solution, is simply double clicking a field and inserting a rule for each drop down menu will not work. You must, go to Form Options and click Rules and do it from there.

I'd like an explanation as to why, because it seems just straight stupid, and this was my initial mistake.
0
 
-PolakAuthor Commented:
Value "ceo"???
0
 
Clay FoxDirector of Business IntegrationCommented:
A rule on a field executes when the field value changes(the cursor leaves)
Either use a default value or set the field on open to have it set when the form opens.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now