Auto-filled fields linked to other selectable fields
I would like to create a set of numeric fields that auto-fills with default (but user-editable) values, with the selection of a radio button. I would like to be able to create a different set of values for different buttons, all pointing to the same set of numeric fields.
Does anyone know if this can be done?
Thanks,
Shoshana
Hi carphuntin_god,
According to your description, my understanding is that when you click a hyperlink which redirect to other files , the file are opened very slowly via excel client.
How about you download the same file and open it using excel client? If it is opened quite fast, the issue should be caused by some third-party add-ins in the office program or antivirus soft.
Here is a similar thread you can have a look:
http://social.technet.microsoft.com/Forums/en-US/ff0c5306-5300-4010-a760-c4cca320b6fc/excell-file-taking-long-time-to-open-and-edit?forum=officesetupdeploylegacy
http://social.technet.microsoft.com/Forums/en-US/5c746958-418a-44f6-a777-9f8bddf6dbb6/sharepoint-file-open-takes-long-time?forum=sharepointdevelopmentlegacy
If you want to open the files using excel service after click the link in the excel file, you can create the hyperlink in the following way:
General Syntax:
http://<server_name>/<site_name>/_layouts/ xlviewer.aspx?id=<workbook path>&range=<location>
For example:
http://CorpServer/DeptA89/_layouts/ xlviewer.aspx?id=http://Mfct/Stats/Shared%20Documents/Parts.xlsx&range=Widgets!A1:F25
For more information:
http://office.microsoft.com/en-001/sharepoint-server-help/using-hyperlinks-in-excel-services-HA010173679.aspx
If you want to open the files using Office Web Apps after click the link in the excel file, you can create the hyperlink in the following way:
http://<server name> / <site name> / <library name>/<your file name> ?web=1
For example:
http://sp/Shared%20Documents/exceltest.xlsx?Web=1
Best Regards,
Eric
Eric Tao
TechNet Community Support
Similar Messages
-
Populating a reqd. selection field based on other selection field-Reports?
Hi,
I have a selection screen wherein there are several fields which are mandatory.Now it has fields like customer Number(KNA1-KUNNR) for which there is a standard help coming in and customer name(KNA1-NAME1).
My requirement is as soon as user selects a customer no along with customer no customer name field is also populated without performing any action on screen.Now if I write the code as:-
at selection-screen on p_name1.
select single name1 into p_name1
from kna1
where kunnr = p_kunnr.
There are few problems in this:-
1)It will be executed only when user presses enter or F8 but I dont want that...
2)Also if I perform any action on screen say pressed enter this code will be executed only when i have put in values in all the MANDATORY fields.So will have to put in a dummy value first since its a mandatory field and then this code will be executed which doesn't serve my purpose..
Please suggest a way out..Its really urgent..Have to make an object delivery
Thanks in advance,
SwatiTry this example, this will also automatically update the NAME1 field when user does F4 help on the customer number.
data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.
parameters: p_kunnr type kna1-kunnr,
p_name1 type kna1-name1,
p_kdgrp type knvv-kdgrp.
at selection-screen.
if not p_kunnr is initial.
select single name1 into p_name1 from kna1
where kunnr = p_kunnr.
endif.
* Now do checks
if p_kdgrp is initial.
message e001(00) with 'Customer group is not valid'.
endif.
at selection-screen on value-request for p_kunnr.
data: xkna1 type kna1.
data: xkunnr type kna1-kunnr.
clear dynfields . refresh dynfields .
clear return. refresh return.
call function 'F4IF_FIELD_VALUE_REQUEST'
exporting
tabname = 'KNA1'
fieldname = 'KUNNR'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'P_KUNNR'
tables
return_tab = return
exceptions
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
others = 5.
read table return with key fieldname = 'P_KUNNR'.
* Add it back to the dynpro.
dynfields-fieldname = return-retfield.
dynfields-fieldvalue = return-fieldval.
append dynfields.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = return-fieldval
importing
output = xkunnr.
clear xkna1.
select single * into xkna1
from kna1
where kunnr = xkunnr.
dynfields-fieldname = 'P_NAME1'.
dynfields-fieldvalue = xkna1-name1.
append dynfields.
* Update the dynpro values.
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
tables
dynpfields = dynfields
exceptions
others = 8.
start-of-selection.
Regards,
RIch Heilman -
Auto population of data to fields based on other input field.
In overview screen, I have one input field "Business Partner" which contain search help. As soon as business partner selected from dropdown, the other input fields like Name, Address, City, state should automatically populated without hit of 'ENTER' key.
I verified with method DO_PREPARE_OUTPUT, but it is triggering only by hitting ENTER key. Is there any event or method which will trigger after business partner selected from dropdown? or any other option to achieve to auto populate the fields.
Please find attached screen.
Thanks in advance.Hi Narayana,
You can use the get p method for setting up the values without pressing the enter.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
rv_value = 'AI_SELECT'.( you can give here the event name)
WHEN OTHERS.
ENDCASE.
Define event with the same name above( AI_SELECT),
You can set the value of fields based on the first field value within this event.
Thanks,
Dharmakasi. -
Excel files with fields linked to other excel files take a long time to open from SharePoint library
Trying to track a problem for a user.
Most of the documents opened from our SharePoint libraries appear to open in a timely fashion.
But...one user has noticed an issue, and I just noticed something with her files that are a little less common than other stuff we've seen.
she has a lot of pricelist excel files. there are some master price list files, and then other files that link to fields from within the master files.
the files that contain links to other files appear to be the ones that open very slowly.
the files are being opened via excel itself, not the owa viewer or editor.
is there a trick to setting up either the library, the site, site collection or web app... or some client-side setting that affects how quickly/efficiently excel will open files that link to other excel files shared within sharepoint?Hi carphuntin_god,
According to your description, my understanding is that when you click a hyperlink which redirect to other files , the file are opened very slowly via excel client.
How about you download the same file and open it using excel client? If it is opened quite fast, the issue should be caused by some third-party add-ins in the office program or antivirus soft.
Here is a similar thread you can have a look:
http://social.technet.microsoft.com/Forums/en-US/ff0c5306-5300-4010-a760-c4cca320b6fc/excell-file-taking-long-time-to-open-and-edit?forum=officesetupdeploylegacy
http://social.technet.microsoft.com/Forums/en-US/5c746958-418a-44f6-a777-9f8bddf6dbb6/sharepoint-file-open-takes-long-time?forum=sharepointdevelopmentlegacy
If you want to open the files using excel service after click the link in the excel file, you can create the hyperlink in the following way:
General Syntax:
http://<server_name>/<site_name>/_layouts/ xlviewer.aspx?id=<workbook path>&range=<location>
For example:
http://CorpServer/DeptA89/_layouts/ xlviewer.aspx?id=http://Mfct/Stats/Shared%20Documents/Parts.xlsx&range=Widgets!A1:F25
For more information:
http://office.microsoft.com/en-001/sharepoint-server-help/using-hyperlinks-in-excel-services-HA010173679.aspx
If you want to open the files using Office Web Apps after click the link in the excel file, you can create the hyperlink in the following way:
http://<server name> / <site name> / <library name>/<your file name> ?web=1
For example:
http://sp/Shared%20Documents/exceltest.xlsx?Web=1
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Populate field based on other lookup field in form
Hello,
In a list item in Infopath, I have a field which looks up a location. You can select the location in a dropdown list.
I want to fill another field with the manager name of the selected location. That manager name is a field in the other form also. In a Sharepoint workflow you can do such a thing (look for a specific list item in another list, based on a selected field in
that list).
To summarize: if I fill the location field with info from another list, I want to automatically fill another field with the manager of that location - which is also in that other list.Hi mRRRc1,
For achieving your demand , please take steps in the InfoPath as below:
Open the list which contains the look up field using InfoPath.
Create a Data Connections from SharePoint list: Click From SharePoint List control under tag DATA -> Input your site URL in the Data Connection Wizard page -> Select the original
list -> Select Location and Manager field -> Enter a name for this data connection(such as Test) -> Finish.
Create a Rule for Location look up field :
Condition: LocationLookUp is not blank
Rule type: Action
Run these actions: Add “Set a field’s value”
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Report field link based on another field value...
Hi.
Got another Q. I have a report with two columns A & B. Column B value is a link. Is it possible to show column B as a link only when column A <> value, and when A = value B shows just text N/A
Thnks.
MikeYes, it's possible. One way (probably not the only way) is to use a case or decode in your select statement. If A<>value, then have case/decode generate the link, otherwise have it generate the text.
Then, in your report attributes for that column, just leave it as a regular column. I.E., don't use the built-in column link feature. That feature makes all entries in that column into a link. -
In a document library, offering only certain options for fields based on others selected
Hi, I have a document library, and when someone uploads an item to that library, they are presented with a form to select properties. I have 4 properties I want them to select (really 6, but the first two are Name and Title). The issue is that these 4 properties
depend on each other in this way:
1st property: I use a lookup to offer 4 choices, "A" "B" "C" or "D" in a dropdown.
2nd property: I want to offer the user a choice of 4 items in a dropdown, based on what they chose for the 1st property. (if they chose "A", then offer "1" "2" "3" or "4", if they chose
"B" offer "5" "6" "7" or "8", etc.)
3rd property: same thing as above, but now based on what they chose for the 2nd property (if they chose "1", offer "a" "b" "c" or "d", if "5" offer "s" and "t")
4th property: again based on 3rd property.
How can I do this? can I write some sort of custom form that can do this?What you're trying to do is commonly refererd to as 'Cascading Drop Downs'. These are a common lack in SharePoint.
There are lots of ways to do that, my favourite to use jQuery or Javascript:
http://www.sharepointboris.net/js/spcd/ -
Can you display info from 2 text fields in 1 other text field in a form?
Im trying to make a form where you enter an address. I want that info to display in another part of the same form as well. When I get to the City and State, I want those to be 2 separate fields where you enter that info. Down below, I would like those to display in the same field with a comma separating. I want to do this mostly because you never know what the length of the city name will be and dont wan the state to be so far away to the right of the city jsut to compensate from possible long city names.
I know how to make it display those field in other parts of the form normally, just not how to double them up. I figured if the form was named "text1, text2" or "text1+test2", that might work but it didntIm thinking thats how im going to have to do it, i just want it to show up more like
RICHMOND, VA
instead of
RICHMOND VA
because some cities are way long and im a little crammed for space -
Hi
It's a bit of a weird one. In an XSLT List View web part when Inline editing is enabled if I change the date column, it changes the lookup field column as well. This behavior only occurs if the lookup list has more than 20 entries. Below 20 and we are
OK.
Let me explain by example:
MileStones List - Having more than 20 items
Tasks List - having a lookup to the Title field from MileStones list. Also having a due date field.
Simple web part page with one XSLT List View web part for Tasks having inline editing enabled.
When I edit the first record's due date and press enter (which saves the changes and moves onto next record) and change the due date on second record without even touching the MileStone field. Press enter to commit changes and you see the milestone changing
on first record!
The wierd thing is that if the MileStone list has less than 20 items all works as expected.
Any pointers will be appreciated
ThanksHi,
This is a known limitation when working with complex fields like Lookup field.
A workaround is that we can avoid using the inline edit feature when there are
complex fields in a list.
You can take a look at this KB from Microsoft Support to get more details:
http://support.microsoft.com/kb/2600186/en-us
A similar thread for your reference:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/3d369611-ee79-4b5c-86bb-c0f3878cd746/standard-list-view-with-inline-editing-lookup-column-copies-preceding-or-following-items-related?forum=sharepointgeneralprevious
Thanks
Patrick Liang
TechNet Community Support -
Linking a select field with a text field in a DW form.....
I did try to search for this but nothing came to my attention. Apologies if it is already in the forum.
Is it possible to have a "select field" link with a "text field"? In other words The select field will provide different venues to choose from, in this case "Blog, Trade Show, Friend, Photo Magazine" and then after the choice is made a text field appears that allows you to provide details re. your choice. For example if you choose "Trade Show" from the select field the text field will then appear and prompt you to detail WHICH Trade Show. Something along those lines. Any assistance will, as always, be appreciated.
-G-You need scripts for this. Try this jQuery tutorial
http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
Nancy O. -
Hiding Screen fields in a Report selection screen
Hi Experts,
I have a requirement to hide/disable screen fields in a report selection screen when the user clicks on some radio buttons .
Here is the scenario,
1) There are 4 radio buttons four radiobuttons in one group on the selection screen:--
Block no:1
PARAMETER: r_not TYPE c RADIOBUTTON GROUP a1 DEFAULT 'X'.
PARAMETER: r_prgs TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_remv TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_noresp TYPE c RADIOBUTTON GROUP a1.
2) Based on the user clicking/selecting the radio buttons no.2,3 nad 4 i need to hide some fields in the other selection block
in the selection screen.The parameters are as follows:
Block no:2( These fields need to be hidden/disabled)
PARAMETER: r_occ(3) TYPE c OBLIGATORY DEFAULT '1'.
PARAMETER: r_and TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_or TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_days(3) TYPE c OBLIGATORY DEFAULT '1'.
ThanksContd.....
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
"When Customer button is clicked set flag 1
WHEN 'FC01'.
L_FLAG = '1'.
"When Sales Order button is clicked set flag 2
WHEN 'FC02'. "Sales order
L_FLAG = '2'.
"When Execute button is clicked set flag 4
WHEN OTHERS.
L_FLAG = '4'.
ENDCASE.
AT SELECTION-SCREEN OUTPUT.
CASE L_FLAG.
WHEN '1'. "When Customer button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '2'. "When Sales Order button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL2'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '3'. "When Refresh button is clicked
LOOP AT SCREEN.
"Set the all Blocks as active
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3' OR SCREEN-GROUP1 = 'BL1'.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN OTHERS."When Execute button is clicked
"Set the Sales order and Customer Block as inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDCASE.
ENDFORM. -
Dynamic selection field display
Hi
Can we display field values for a field from Dynamic selection ?Hi,
Yes, you can display field values in dynamic selection field.
If I understood your question correctly, you are talking about the dynamic selection used in reports ( For eg. ME2N). The field which are appearing in dynamic selection shows the field values. ( you can press F4 and check the field values).
Rajesh. -
Return Code 0XFFAB411C received when setting selected field for timestamp
I have a time stamp field that I want to change the selected fields (the fields that determine whether the time stamp gets updated)
When I select ALL fields and save I get the return code of 0xFFAB411C.
I have ran verify repair on repository, no change
I have archived and unarchived, no change
I have deleted the field and recreated it with the same result.
When I create the field it defaults with selected fields "ALL" I need to add all the fields and remove 2-3 fields but I get the error message.
I have added fields one by one until I get the error message, then try it with just the last field but I do not get the error.
Any ideas?FYI this is the response from SAP regarding this issue.
Please refer to SAP Note 1283688 which documents the limitation while
using time stamp fields.
As this is a Database limitation and currently can't be removed, please
consider the following options :
1) Since most of the fields are to be included, leave selected fields
with [All]
2) Split the table fields to 2 (or more) groups and add a Time stamp
field to each group
3) Lower the number of fields that should be tracked by the Time stamp
field
If both solutions are still not valid to use by the business, please
refer to SAP Note 1156293 on how to file an enhancement request. -
Fields won't stay selected when trying to calculate.
I'm sure I'm making some basic mistake as I am new to acrobat (using XI). I am simply trying to do some very simple calculations. I want to add about 4 fields together for a total and then multiply that total by a fixed number.
I went into form editing, brought up the properties dialog for the field where I wanted the total to go, clicked on calculate, selected "the value is...sum +" button, pressed pick, a list of all the fields came up, I selected fields I wanted totaled, hit ok..........no fields actually appear in the box below the "value is" button.
I tried the "simplified field notation". same thing...what I typed didn't show up after hitting ok.
HELP!!!!!!
Thanks in advance.Install Zen Usb driver .
-
HT1677 Enter info into auto fill on iPad 4
I enter sweepstakes and need an auto fill for this -how do I enter my contact information into auto fill in safari
After enabling Auto Fill (Settings>Safari), Safari will ask you about remembering User ID and Password Data as your enter it for the first time. After that it will Auto Fill for you.
Maybe you are looking for
-
Currency conversion issue while creating PO from Shopping cart
Hello Experts, I'm facing an issue in SRM during Limit purchase order creation from Limit shopping cart. Scenario: Shopping cart was created on 1st of June and Approved on 20th June & Po was created on the same day. But the currency conversion is no
-
No goods receipt possible for purchase order 'PO#" "Lineitem"
Hi gurus, Please help on below error. While doing return to vendor transaction using BAPI 'BAPI_GOODSMVT_CREATE' error 'No goods receipt possible for purchase order 'PO#" "Lineitem"' was encountered. As checked, all data are correct including the pla
-
Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases. Doesn't seem right that they keep me from accessing those files which I've already paid for!
-
Warning 11 message in log files
I had Sun One Identity Synchronization for Windows working with AD. I removed the Message Queue when I upgrade another DS on the machine which broke the Idsync. I have reinstalled the packages for IMS3_0_1 that I removed. The Message Queue is startin
-
In my search to insert a button that creates an email, I found this spectacularly helpful article by jlockman Sending email and email attachments from DPS publications Using his code as a template, I was able to do exactly what I wanted. Now my artic