Pass Values to Edit Form thru Query String and Save in List
I have developed a custom Edit form from SharePoint Designer and I am passing values thru Query String as below;
http://<>/cli/acc/Lists/GIInfo/testEdit.aspx?ID=262&com=POD_Send
And, user supposed to save the form directly without changing the values came thru Query String as below.
Now, issue is, when user saves the form, values is not getting saved. It saves when we change the value in text box or when we do a text change event in form. Becasue data binding says Text Change even in data binding property.
__designer:bind="{ddwrt:DataBind('u',concat('ff22',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Actions')}"/>
Kindly guide me what is the issue, or correct approach to do that? I want to pass values to Edit Form thru Query string and save in List without changing those.
-Rajesh A.
I know this is late, but i found a very good solution on this post and credit goes to the author.
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4be1be38-0663-4b80-8f28-45f38f98f9d0/sharepoint-designer-2010-custom-newformaspx-data-in-textbox-fields-dont-save-on-submission?forum=sharepointcustomizationprevious
The issue was resolved by changing the textbox values,
<asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="" Value="{$Destination}" __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">
instead of
<asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="{$Destination}" __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">
Similar Messages
-
Hi Guys!
My Problem is to pass values through call forms to another form. There are two ways I had done it before. First:global variables.
Second library spec with variables in in, then call forms share library data and the calles form uses the same library. The second way is descriped by Oracle Corp., too.
Do you know another, better way, or do I have to make one of this better? What's the best way? Thank you very muchYou can build and pass a parameter list. Look at the help for CALL_FORM for details (I think you'll see an example there of how to use it).
-
How to pass value between two forms.
Hi all,
how to pass value between two forms(using :parameter),...
Thanks
RajeshTo use parameters, create a parameterlist with the named parameters
DECLARE
pl_id PARAMLIST;
pl_name VARCHAR2(10) := 'tempdata';
BEGIN
pl_id := Get_Parameter_List(pl_name);
IF not Id_Null(pl_id) THEN
DESTROY_PARAMETER_LIST(pl_id);
END IF;
pl_id := Create_Parameter_List(pl_name);
ADD_PARAMETER (pl_id,'MYPARAMETER',TEXT_PARAMETER,:BLOCK.VALUE);
CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE, NO_QUERY_ONLY, pl_id);
END;In the new form you can then just access the parameters via :PARAMETER.MYPARAMETER;
An alternative is the usage of globals:
:GLOBAL.MYPARAM:=:BLOCK.VALUE;
-- call the emp-form
CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE);and in the new form use:
DEFAULT_VALUE(NULL, 'GLOBAL.MYPARAM');
IF :GLOBAL.MYPARAM IS NOT NULL THEN
...The advantage of gloabls is that they can also return values back to the calling form, which is not possible using parameters -
Drop down values in Adobe Forms vanishes upon Check and Send in HRAS
Hello
The drop down values in Adobe Forms vanishes upon Check and Send while initiating the process.
I also get the error , u2018 The Entered Value is not on the List of Valid Valuesu2019 when I select the values again and try to SUBMIT.
We are in EHP4u2026 and I am seeing many Notes has been released to address these issues in EHP3 itself..
Request your help and supportu2026.
Thanks
Meena VenkatesanHello
Thanks for the swift response.
We applied the Note 1413209 and 1403266. The fix didnu2019t work.
I noticed the SAP Note 1403266 mentions a prerequisite Note 1346443 which is for SP4.
We are currently in SP5 and our system mentions Note 1346443 as u2018Cannot be Implemented. u2018
Please advise. -
Not able to edit assets in Illustrator/Photoshop and save over existing assets in Edge animation
Not able to edit assets in Illustrator/Photoshop and save over existing assets in Edge animation to update image changes. Has Adobe changed this capability with new releases? Does this mean to update an asset on the Edge animation timeline, you have to copy and paste all the animations of that old asset over to the new imported asset?
Hi, CamShazam-
You should be able to save over existing assets in the images/ folder, then close and reopen the file. The other option is to save your assets and then use the swap image option in the properties panel. Is this what you're talking about? Thanks,
-Elaine -
How can I import photos from iPhoto-library to edit in Photoshop CC? - and save it back to the iPhoto-library?
How to access iPhoto images for use in Photoshop
1. In the Finder, navigate to Users > [user name} > Pictures > iPhoto Library.
2. Control-click the iPhoto Library file and choose Show Package Contents.
3. A Finder window opens that shows the contents. The Masters folder (or called Originals folder) contains all of the photographs that are in iPhoto.
Photoshop cannot access this folder, but if you make a duplicate of the folder, the dupe will be accessible -- so:
4. Control-click the folder named Masters (or Originals) and choose Duplicate.
5, Drag the duplicate folder which is named "Masters copy" or “Originals copy” from the iPhoto Library Finder window to the Desktop.
6. Open images in Photoshop from file on desktop.
7 Rename the folder and move it elsewhere (probably to the Pictures folder), if desired. -
How to prevent end user to create a Query View and save back to BW Server?
Dear All :
Do Someone know that how to setup authorization for Bex Query View Creation? We want to prevent end user to create a Query View to save back to BW Server his favorite folder. when our user run Bex Query, he can base on this query and use Bex Analyzer's save function to save a Query View and save into his favorite folder.
My question is :
1. Can we set up a Authorization to prevent end user to save Bex Query View?
2. Or can I remove Save function from Bex Analyzer to prevent end user use save function, But Developer should not to be prevent .
Thanks for all of your kindly response.
Best Regard
Lawrence KuoHi.
Yes, you can do it like you outline in your point 1):
You need to use the authorization object S_RS_COMP for this. This object let's you control what parts/components of a query the user can do stuff to. So, in your case, you need to have a role for the users, where you do not grant create-access to the component QVW, and then you need another role for developers, where you grant full access or whatever you need for your developers.
See [this post|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a6c54319-0e01-0010-20a4-fb81ad32f330?QuickLink=events&overridelayout=true&5003637661135] and the [SAP Help entry|http://help.sap.com/saphelp_nw70/helpdata/en/80/1a6859e07211d2acb80000e829fbfe/content.htm].
You will also need to use the authorization object S_RS_COMP1. If you already have a productive system with users doing reporting, both objects will be maintained in one of the roles already.
You also want to consider using the object S_RS_PARAM to allow users to create variants for the variabel screen.
Good luck.
Jacob -
Passing a portlet parameters on the Query String
Hello,
We have a portal page with a portlet on it and would like to be able to make this portlet dynamic by using additional parameters on the portal url query string.
Back in version 5, I was told that this couldn't be done. Perhaps someone knows whether the G6 portal supports this?Yes, you can pass portal url into porlet in G6.
1. You have to check box "HostPageURI" (don't remember exactly, but close to this one) on User Information page for Web Service.
2.Use getHostPageURLQueryString() method (for IPortletRequest) to retrive QueryString value;
3. Parse url value manualy to access parameters and values.
But think twice before do this. This is because there are more effective ways to pass data and "make portlet dynamic":
1) Portlet Settings (classic way, total page refresh);
2) Adaptive portlets techology (inline refresh, passing data to other portlets on the same page);
3) Portal Session object (for G6). Way to pass data to portlets placed on different page.
Edited by Bryazgin at 01/18/2007 7:11 PM -
XSl formula for pulling values based on parameters or query strings
Hello,
I have a custom list in SharePoint
List Column/Fields (any time a new item is created these are the fields that need values)
Machine = ID2
SpecLabel = text string value
SpecValue = text string value
Using DataFormWebPart
I Filter values by Machine by creating a parameter with a query string as its source.
And pull the values
<xsl:value-of select="@SpecLabel" />
<xsl:value-of select="@SpecValue" />
On the browser I add the parameter to the URL sting to filter each machine ID.
?=Machine=1
Back in the XSL i use the same parameter to pull the value of the string as my header title.
<xsl:value-of select="$paramMachine"/>
Problem
I need a formula that will pull just the the SpecValue data for a specific item.
Example: I have thee items below and I need to just pull the “SpecValue” for the Built Year which is 2014.
Machine = 1
SpecLabel = Speed
SpecValue = 10
Machine = 1
SpecLabel = Color
SpecValue = Red
Machine = 1
SpecLabel = Built YearSpecValue = 2014
Any Suggestion?Hi,
According to your post, my understanding is that you wanted to the formula to filter a list item.
You can create the formula similar like below.
<xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row[@City = 'Abington']"/>
More reference:
http://sympmarc.com/2011/08/15/compound-filtering-in-data-view-web-parts-dvwps-with-sharepoint-designer/
http://blog.jussipalo.com/2012/01/sharepoint-filter-data-form-web-part.html
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Passing values to sub-forms (Varaible scoping)
I have a "parent" form that calls one of 6 subforms. I'm trying to figure out how to pass values derived in the parent to a sub form.
I am running IdM 8.1.0.9 in glassfish 2.1.1. I set up these test forms to work through this:
my Parent Form:
<Form name='parent' objectLocationID='objectType=UserForm&objectName=parent&objectPath=0&isBegin=true'>
<Display class='EditForm'/>
<Include>
<ObjectRef id='#ID#UserForm:child1' type='UserForm' name='child1'/>
</Include>
<!-- This value needed in child 1 form -->
<defvar name='myvalue'>
<s>test123</s>
</defvar>
<Field name='myfield'>
<Expansion>
<ref>myvalue</ref>
</Expansion>
</Field>
<!-- My attempt at using <Variable>, IdM doesn't like this
<Variable name='myextvar' external='true'>
<ref>myvalue</ref>
</Variable>
-->
<FormRef name='child1'/>
</Form>
my Child1 Form:
<Form name='child1' objectLocationID='objectType=UserForm&objectName=child1&objectPath=0&isBegin=true'>
<Display class='EditForm'/>
<!--
<Include>
<ObjectRef type='UserForm' id='#ID#UserForm:parent' name='parent'/>
</Include>
-->
<Field name='subtext'>
<Display class='Text'>
<Property name='title'>
<concat>
<s>pre1:</s>
<!--
<FieldRef objectLocationID='objectType=UserForm&objectName=marty&objectPath=0&isBegin=true' name='myvalue'/>
-->
<ref>myvalue</ref>
<s>:1post</s>
</concat>
</Property>
</Display>
</Field>
</Form>I was hoping that child forms would share the scope of the parent, and I could just use a <ref> tag in the child form, but that doesn't seem to work. So I started looking at FieldRef/FormRef but I'm not sure they are the right answer either.
When the include in the child form is uncommented, I get :
An unrecoverable error has occurred processing the request. Contact your system administrator.
Syslog ID = LG-0405-115539.
I'm guessing that this is because I include a form that includes this form, and created an endless include loop?
When the FieldRef is uncommented, I get this error:
Attruibute "objectLocationID" must be declared for element type "FieldRef".
The <Variable> tag (defined as external) looks promising, but I haven't run across a good example of how to use it.
When I try to add a <Variable> to my parent form, I get the error: Content of element type "Form" must match...
This doc: http://docs.sun.com/app/docs/doc/820-5821/bvaex?a=view
says that <Variable> is a valid form element, but IdM disagrees.
Any suggestions on how to achieve the passing of values from one for to another would be greatly appreciated.
-mk
Edited by: mk152556 on Apr 5, 2010 6:27 AMAn advice I usually follow: Skip defvars and variables, and stick to fields, hidden, not using any Display class that is, if you just need to use the field as an variable. Field are a lot more practical IMHO.
-
Passing value from Portal Form as parameter to portal report
I have a portal form that I have created using the custom form layout editor to build/modify the display of the form. When I run the form and I have a record queried I would like to be able to click a link and pass the value of a field as a parameter to a portal report. For example, lets say I have a field on my portal form called assignment_id, and after I query a record assignment_id equals 1. I would like to use the value 1 from assignment_id as a parameter to a portal report. I am not sure how to reference the value of a form field, can this be done within the header, body or footer of the custom layout editor? Or can I somehow reference the value of a form field from the Additional PL/SQL Code section?
Has anyone tried this with success? Any info is appreciated.
Regards
MarkHi,
You can get the values of the variables from the session variables. Here is an example which gets the value of the field FLIGHT_NO and passes it on to a report.
While accessing the value of a field you should prefix it with "A_" (A_FLIGHT_NO)
declare
flightno number;
blk varchar2(10) := 'DEFAULT';
begin
flightno := p_session.get_value_as_varchar2(
p_block_name => blk,
p_attribute_name => 'A_FLIGHT_NO');
call('SJDEMO30.report1.show?p_arg_names=flightno&p_arg_values='||flightno);
end;
Thanks,
Sharmila -
Passing values to a loop from a string sepated by commas
This string i am passing to a stored procedure.
The string which contains id seperated by commas like(string a='100,101,102,103')
This values i have to seperate and pass it to a query
I have to do the query for all the values(i think by looping )
select dept from employee where id =100Since row by row processing is something to be avoided, because it uses needlessly many resources, we suggested a SQL only solution. You can still encapsulate this in a stored procedure like this:
SQL> create table my_departments
2 as
3 select * from departments where 1 = 2
4 /
Tabel is aangemaakt.
SQL> create procedure insert_into_my_departments (p_list_called_a in varchar2)
2 as
3 begin
4 insert into my_departments
5 ( department_id
6 , department_name
7 , manager_id
8 , location_id
9 )
10 select department_id
11 , department_name
12 , manager_id
13 , location_id
14 from departments
15 where department_id in
16 ( select to_number
17 ( substr
18 ( s
19 , instr(s,',',1,level) + 1
20 , instr(s,',',1,level+1) - instr(s,',',1,level) - 1
21 )
22 )
23 from (select ',' || p_list_called_a || ',' s from dual)
24 connect by level <= length(p_list_called_a) - length(replace(p_list_called_a,',')) + 1
25 )
26 ;
27 end insert_into_my_departments;
28 /
Procedure is aangemaakt.
SQL> select * from my_departments
2 /
Er zijn geen rijen geselecteerd.
SQL> exec insert_into_my_departments(p_list_called_a => '100,110,120,130')
PL/SQL-procedure is geslaagd.
SQL> select * from my_departments
2 /
DEPARTMENT_ID DEPARTMENT_NAME MANAGER_ID LOCATION_ID
100 Finance 108 1700
110 Accounting 205 1700
120 Treasury 1700
130 Corporate Tax 1700
4 rijen zijn geselecteerd.Regards,
Rob. -
I have a parent summary form. When the user presses a button, it pops up a detail form for the user to edit/fill in. How do I pass the initial values from the parent form to the child form and back? Where can I find an example of this?
DeltaGeek wrote:
BarryC wrote:
Thank you.
Do you happen to know of any tutorials/examples showing various methods of passing values between forms?The same way you pass values anywhere else. When you create your child form, give it a reference to the parent form or references to the data that will be changed. If you feel like making your code more modular, create a class specifically to hold the entered data and be passed anywhere you need.An application context, in effect -
Passing value to another form with on demand process
Hi,
This is my first post and I am an absolute beginner to apex (using 4.1)
I would like to pass a value to another form, but to no avail.
I have an on demand process that is being called when a button is clicked (ISSUE)
This process is being called from P33 and I need the value to go to P33_ST_NUMBER_HOLD
DECLARE
v_rownum NUMBER;
BEGIN
for i in 1..apex_application.g_f01.count
loop
v_rownum := apex_application.g_f01(i);
apex_debug_message.log_message('row selected: '||v_rownum);
apex_debug_message.log_message('value: '||apex_application.g_f03(v_rownum));
htp.p('$x_Value("P17_ST_NUMBER_HOLD",apex_application.g_f03(v_rownum));');
end loop;
END;What am I doing wrong?
Edited by: Hansen_____ on 2012/06/15 1:15 AMHansen_____ wrote:
htp.p('$x_Value("P17_ST_NUMBER_HOLD",apex_application.g_f03(v_rownum));');This is PL/SQL and you have to use one of these methods to set the item value, But you are using javascript API's in PL/SQL.
FYI - javascript is a client/browser side and it got nothing to do with PL/SQL
:P17_ST_NUMBER_HOLD := apex_application.g_f03(v_rownum);
//OR
APEX_UTIL.SET_SESSION_STATE('P17_ST_NUMBER_HOLD',apex_application.g_f03(v_rownum));http://docs.oracle.com/cd/E17556_01/doc/apirefs.40/e15519/apex_util.htm#AEAPI181 -
Passing values from a FORM to another FORM
Hi,
I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
Can I use a GLOBAL variable?
Thanks,
Marc.I think he meant the global namespace.
You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.
Maybe you are looking for
-
A big thank you to the person who said to go to edit/preferences/advanced tab. That helped. My external hard drive is a passport. I know I have it , I just can't findit. Not in control panel or desk top. I don't know how they named it. Please
-
With filter values iam not able to see out put of a web report
Hi, I had a web report. for the webreport,data provider is Query. My requirement is to change the description of calculated KF. I have changed the description of Calculated KF in Query and transported it to Quality system. But when i execute the Web
-
Userexit in FI... URGENT..
Hi All, Am new to Userexit concept. Can anyone lemme know the exits available for FI. Like i have to find a exit for FI, When the FI document is created or changed, a new function will be invoked to check if the document qualifies for Audit based on
-
Hi everyone! I really need your help!!! I woke up this morning and my iphone 5S was showing "no service". I tried resetting my network many times and nothing! I went Googling and tried to look up for some other solution like *going on aiplaine mode
-
by mistake, i just captured video instead of audio for about 20 clips. is there anyway to go back and get the audio only through batch capture. i highlighted the clips and did a batch capture but the only thing it re-captured was the video and no aud