WorkingDir parameter
Hi everyone -
I'm using the workingDir parameter (specified as a relative path) ,
and things are working fine, except when I move my application to a
different domain on the same machine.
For example - we have two domains on the same machine - development
and staging:
/usr/prop/weblogic6.1/config/development
/usr/prop/weblogic6.1/config/staging
now, currently If I put an entry in my weblogic.xml such as :
<workingDir>./saved_jsps</workingDir> -
Then all jsp's will be saved to /usr/prop/weblogic6.1/saved_jsps -
even though they are from two different domains. This could cause
problems, and BEA's recommended approach is to change the deployment
descriptor when migrating between domains.
Has anyone run into this problem? Any creative solutions?
Thanks in advance,
Scott
Hi,
(Serious question..) Can you explain why you're using the workingDir
parameter? Why not just leave it as the default? What are the advantages to
changing it?
Thanks,
Alex
"Scott Gilpin" <[email protected]> wrote in message
news:[email protected]..
> Hi everyone -
>
> I'm using the workingDir parameter (specified as a relative path) ,
> and things are working fine, except when I move my application to a
> different domain on the same machine.
>
> For example - we have two domains on the same machine - development
> and staging:
>
> /usr/prop/weblogic6.1/config/development
> /usr/prop/weblogic6.1/config/staging
>
> now, currently If I put an entry in my weblogic.xml such as :
>
> <workingDir>./saved_jsps</workingDir> -
>
> Then all jsp's will be saved to /usr/prop/weblogic6.1/saved_jsps -
> even though they are from two different domains. This could cause
> problems, and BEA's recommended approach is to change the deployment
> descriptor when migrating between domains.
>
> Has anyone run into this problem? Any creative solutions?
>
> Thanks in advance,
> Scott
Similar Messages
-
Hi,
I am new to weblogic and am trying to deploy jsps and servlets. This is my directory structure:
MiniEjbs --> src, build, myapp dirs
src ---->CalculateHOme,Calculate,CalculateBean. java files
build----> src ----> ejb's class files
----> META-INF-----> *.xml (for ejb)
--->MiniEjb.jar,Miniwebapps.war
myapp--->WEB-INF--->*.xml(web)
--->class---> accessServlet.class
---> calc_num.jsp
when I deploy the war file using console I get an error
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"at "C:\bea\user_projects\domains\AnilRukkuDomain\AnilRukku\upload\Miniwebapp.war"
I created a new domain AnilRukkuDomain,but all my ejbs and client apps are in C:\MiniEjbs dir.Is this a problem for my deployment? After I deploy would my context root be myapp or do I set that explicitly? My ejbs are deployed without any problem.Will my application run if I create seperate modules and deploy individually?Is it mandatory for me to create an application?
Kindly help me out with this. I appreciate your help.
Thanks,
RukminiHello,
Could you check weblogic.xml?
Specifically the element jsp-descriptors.
For example:
One can receive the same error if weblogic.xml had specified workingDir to a non-existent directory i.e d:\foo.
The problem was that the weblogic.xml specified a non-existent directory for "workingDir" parameter for jsp-descriptor. Check once weblogic.xml especially <jsp-descriptor>.
<jsp-descriptor>
<jsp-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</jsp-param>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>d:\foo</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>
Try to comment any elements in weblogic.xml that is either not used or redundant.
There is one CR also filed for prabably similar issue. You can get more informaiton about CR200819 from bea support.
Regards,
Kuldeep Singh. -
Pre-compiled JSPs when deploying an EAR under WebLogic 6.1 SP4
Hello,
We have sucessfully pre-compiled JSP pages when working with and
deploying WAR files (WebLogic 6.1 SP4, Windows).
However, we can't seem to make it work when deploying EAR files.
Examing the "secret" unpacked directories after deployment doesn't
seem to help.
If we extract the WAR from the EAR and deploy it, everything is perfect.
Any ideas? Anyone able to make this work? If so, could you share the
output of
jar -tf yourCoolEarFileThatWorks.ear
as well as the same for the embedded WAR file?
Thank you,
Mike LeoSome followup information.
We've changed the place where it looks for JSP classes using the
"workingDir" parameter in weblogic.xml.
And we also set "pageCheckSeconds" (also in weblogic.xml) to "-1".
Now, everything in the base directory comes up without being recompiled.
However, nothing in subfolders of the base directory is "picked up". Those
pages are still being compiled when they are accessed.
Any ideas welcome.
Mike Leo
On Tue, 05 Aug 2003 18:43:41 -0500, Michael Leo <[email protected]>
wrote:
Hello,
We have sucessfully pre-compiled JSP pages when working with and
deploying WAR files (WebLogic 6.1 SP4, Windows).
However, we can't seem to make it work when deploying EAR files.
Examing the "secret" unpacked directories after deployment doesn't
seem to help.
If we extract the WAR from the EAR and deploy it, everything is perfect.
Any ideas? Anyone able to make this work? If so, could you share the
output of
jar -tf yourCoolEarFileThatWorks.ear
as well as the same for the embedded WAR file?
Thank you,
Mike Leo -
Deploying .WAR archive gives classNotFound:FacesServlet error
Hi all,
I am using ANT scripts to build a .war archive of an ADF project, I am then using the .war archive to manually deploy to a weblogic server.
However, when I do this, I get the following error message:
[09 October 2012 09:30:27 o'clock BST] Initiating deploy operation ...
[09 October 2012 09:30:27 o'clock BST] Validating deployment plan...
[09 October 2012 09:30:28 o'clock BST] Deployment plan validated.
[09 October 2012 09:30:28 o'clock BST] Archive: C:\MIDDLE~2\USER_P~1\domains\SOASUI~1\sysman\upload\deploy\otn\archive\otn.war
[09 October 2012 09:30:28 o'clock BST] Deployment plan: C:\MIDDLE~2\USER_P~1\domains\SOASUI~1\sysman\upload\deploy\otn\config\plan.xml
[09 October 2012 09:30:29 o'clock BST] [Deployer:149193]Operation 'deploy' on application 'otn' has failed on 'AdminServer'
[09 October 2012 09:30:29 o'clock BST] java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
[09 October 2012 09:30:29 o'clock BST] javax.faces.webapp.FacesServlet
[09 October 2012 09:30:29 o'clock BST] Deploy operation failed.
Can anyone offer a solution to this problem?
Thanks
OnkarThe problem was that the weblogic.xml specified a non-existent directory for "workingDir" parameter for jsp-descriptor.
<jsp-descriptor>
<jsp-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</jsp-param>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>d:\foo</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
please check your jsp-descriptor attribute.
- Navaneeth -
Keeping Generate JSP Servlet Source
I want to keep the servlet source code generated by WL when compiling JSPs. In
our development environment we generate servlets on demand (we don't precompile
in ANT -- there are too many JSPs for that).
Elsewhere in this newsgroup I found a message that suggested adding this to the
web.xml file:
<context-param>
<param-name>weblogic.jsp.keepgenerated</param-name>
<param-value>true</param-value>
</context-param>
However, this seems to only keep the .class file, not the .java file. Unless I
am looking in the wrong place, WL isn't keeping the generated servlet source.
Does anyone know if/how this can be done?
Thanks.
"Aidan Monroe" <[email protected]> wrote in message
news:[email protected]...
>
> I want to keep the servlet source code generated by WL when compiling
JSPs. In
> our development environment we generate servlets on demand (we don't
precompile
> in ANT -- there are too many JSPs for that).
>
> Elsewhere in this newsgroup I found a message that suggested adding this
to the
> web.xml file:
>
> <context-param>
> <param-name>weblogic.jsp.keepgenerated</param-name>
> <param-value>true</param-value>
> </context-param>
>
> However, this seems to only keep the .class file, not the .java file.
Unless I
> am looking in the wrong place, WL isn't keeping the generated servlet
source.
> Does anyone know if/how this can be done?
WebLogic creates temporary directory something like:
D:\WebApp\WEB-INF\_tmp_war_WLS6server_WLS6server_WebApp\jsp_servlet
where it stores .java files (JSP files transformed into servlets before
compiling).
<jsp-descriptor>
<jsp-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</jsp-param>
<jsp-param>
<param-name>precompile</param-name>
<param-value>false</param-value>
</jsp-param>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>C:\TEMP\</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>
<jsp-param>
<param-name>pageCheckSeconds</param-name>
<param-value>5</param-value>
</jsp-param>
</jsp-descriptor>
workingDir parameter defines where WebLogic will store your files
-
How to get Workshop to ?keepgenerated? JSP source?
Hi,
Has anyone figured out how to get Workshop to “keepgenerated” JSP source? In WEB-INF,
the file wldynamic_change_list.properties, has a jspKeepGenerated=true setting,
but I can’t find where it’s putting the JSP classes or java files.
Also, I've verified this is in my weblogic.xml..
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>Phil,
One of the main disadvantages of not using the built in JSP compiler is that
you will not be able to debug the JSP. If you need to debug your JSP, please
use the IDE to build the project, or right click the JSP and choose 'run
JSP'.
Regards,
Raj Alagumalai
WebLogic Workshop Support
"Phil Grimm" <[email protected]> wrote in message
news:[email protected]...
>
Anurag,
Thanks for the quick reply. I did as you instructed and found that itprovides
a workaround, but the solution is not optimal. It does not change the JSPcompiler
used by Workshop during a "build". It only changes the JSP compiler usedby the
server to compile a JSP that has changed. So, you must "touch" the JSPfile (but
not do a WLW build) then "hit" the JSP with the browser to cause theserver to
recompile the JSP. Only then will there be a ".java" file saved.
This will have to do, but it would sure be nice if WLW could provide thissimple
capability.
Phil
"Anurag" <[email protected]> wrote:
Phil,
A webservices or web project developed in Workshop by default uses a
Workshop specific JSP compiler as can be seen in the default weblogic.xml
file:
<jsp-descriptor>
Comment the jspServlet param out to go back to weblogic's jspc
<jsp-param>
<param-name>jspServlet</param-name>
<param-value>weblogic.servlet.WlwJSPServlet</param-value>
</jsp-param>
The "keepgenerated" option is not supported by the Workshop JSP compiler.
You need to use the default WebLogic JSP compiler to do that.
As the comment above states, you can do that by commenting out the
<jspServlet> parameter. The java file is by default generated in the
<server-domain-dir>/<server-name>/.wlnotdelete/extract/<serer-name>_<webappn
ame>/jsp_servlet/
directory. This can be changed by specifying the desired location in
the
<workingDir> parameter.
Regards,
Anurag
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]...
Phil,
Workshop has its own JSP compiler.
I will check on the keepgenerated option and get back to you.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Phil Grimm" <[email protected]> wrote in message
news:[email protected]...
Hi,
Has anyone figured out how to get Workshop to "keepgenerated" JSP
source?
In WEB-INF,
the file wldynamic_change_list.properties, has a
jspKeepGenerated=true
setting,
but I can't find where it's putting the JSP classes or java files.
Also, I've verified this is in my weblogic.xml..
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param> -
Logical AND in MDX Reporting Services Parameter
Hi, I would like to implement logical AND on a cube parameter. I have seen examples of hard-coded logical AND in MDX.
(http://salvoz.com/blog/2013/12/24/mdx-implementing-logical-and-on-members-of-the-same-hierarchy/)
But I'm not sure how to apply this to a parameter's MDX dataset.
Here is an example of the automatically generated MDX which uses logical OR:
This is the drop down parameter:
WITH MEMBER [Measures].[ParameterCaption] AS [Department].[Department].CURRENTMEMBER.MEMBER_CAPTION MEMBER
[Measures].[ParameterValue] AS
[Department].[Department].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS
[Department].[Department].CURRENTMEMBER.LEVEL.ORDINAL
SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue],
[Measures].[ParameterLevel]} ON COLUMNS
, [Department].[Department].ALLMEMBERS ON ROWS
FROM [MyCube]
And the demo report dataset is:
SELECT NON EMPTY { [Measures].[CompanyTbl Count] } ON COLUMNS,
NON EMPTY { ([Product Level No].[Product Level No].[Product Level No].ALLMEMBERS ) }
DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM
( SELECT ( STRTOSET(@DepartmentDepartment, CONSTRAINED) )
ON COLUMNS FROM [MyCube]) WHERE
( IIF( STRTOSET(@DepartmentDepartment, CONSTRAINED).Count = 1,
STRTOSET(@DepartmentDepartment, CONSTRAINED), [Department].[Department].currentmember ) )
CELL PROPERTIES VALUE,
BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,
FONT_NAME, FONT_SIZE, FONT_FLAGSHi,
I can see there just one parameter @Department@Department in your script. But if you had two parameters that should return resultset affected by two parameters. You can do it as either select from subselect from subselect.
Example 1
SELECT
{x} ON COLUMNS,
{ROWS_SET} ON ROWS
FROM
(SELECT StrToSet(@Param1) ON COLUMNS FROM
(SELECT StrToSet(@Param2) ON COLUMNS FROM
[CUBE_NAME]
Or crossjoin between 2 parameters
SELECT
{x} ON COLUMNS,
{ROWS_SET} ON ROWS
FROM
(SELECT StrToSet(@Param1)*StrToSet(@Param2) ON COLUMNS FROM
[CUBE_NAME]
Jiri
Jiri Neoral -
Report RFKLBU10: Missing Parameter for Logical filename in Release ERP 2005
Hello Experts,
Report RFKLBU10 in Sap Release 4.6c hat a parameter "Old dataset logical name".
The new version of this report in SAP Release ERP 2005 there is no such parameter.
Is this a SAP-Bug ?
Best regards,
MikeThere are no Export or Print events accessible for the viewer
Since it sounds like you are creating the reportdocument object in your click event, the settings on this object become out of scope on successive postbacks executed by other events.
to get around this without major changes, you can place your "report" object in session in this event and retrieve it from session on successive postbacks. This should solve your problems around navigation, printing and exporting. What you will need to do is check if the session object exists (usually in page_load or page_initialze) and if so, retrieve it from session and bind it to the viewer's reportsource. If the session object does not exist, then do nothing (ie you have not clicked your button yet that retrieves the parameter values from session and loads the report). Also, in your click event you can check if the report session object exists and if so, remove it so that it can be re-created with your new parameter values (ie i'm assuming the only time you want to set parameter values is in this event).
Dan -
Unable to capture the parameter values from a PL/SQL procedure
hi.
i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
Please help me regarding.
i'm using following block for calling the procedure.
declare
err_cd varchar2(1000);
err_txt VARCHAR2(5000);
no_of_recs number;
out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
cntr_var number:=0;
begin
rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
dbms_output.put_line('The error is ' ||err_cd);
dbms_output.put_line('The error is ' ||err_txt);
dbms_output.put_line('The cntr is ' ||cntr_var);
for incr in 1 .. OUT_SIGN_TAB.count
loop
cntr_var := cntr_var + 1 ;
Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
end loop;
end;
Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
Following is some related information.
the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
TYPE "SEARCH_SIGN_TYPE" AS OBJECT
(ref_no VARCHAR2(22),
ciref_no VARCHAR2(352),
ac_no VARCHAR2(22),
txn_type VARCHAR2(301),
objid VARCHAR2(1024))............We don't have your rt843pq procedure, but when commenting that line out, everything works:
SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
2 (ref_no VARCHAR2(22),
3 ciref_no VARCHAR2(352),
4 ac_no VARCHAR2(22),
5 txn_type VARCHAR2(301),
6 objid VARCHAR2(1024))
7 /
Type is aangemaakt.
SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
2 /
Type is aangemaakt.
SQL> declare
2 err_cd varchar2(1000);
3 err_txt VARCHAR2(5000);
4 no_of_recs number;
5 out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
6 cntr_var number:=0;
7 begin
8 -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
9 dbms_output.put_line('The error is ' ||err_cd);
10 dbms_output.put_line('The error is ' ||err_txt);
11 dbms_output.put_line('The cntr is ' ||cntr_var);
12 for incr in 1 .. OUT_SIGN_TAB.count
13 loop
14 cntr_var := cntr_var + 1 ;
15 Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
16 end loop;
17 end;
18 /
The error is
The error is
The cntr is 0
PL/SQL-procedure is geslaagd.Regards,
Rob. -
Unable to capture value inside parameter T_LFBK of FK03 in display mode
Hi Experts,
I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
<Point offer removed by moderator>
Thanks in advance.
Edited by: Vinod Kumar on Jul 28, 2011 5:48 PMHi Experts,
I have to trigger a mail whenever there is a change in fields that are captured in parameter t_ffbk.
However i am unable to capture the the screen values for this parameter as FK03 is in display mode.Please tell me how can i capture the screen field values in parameter T_LFBK.
<Point offer removed by moderator>
Thanks in advance.
Edited by: Vinod Kumar on Jul 28, 2011 5:48 PM -
Cannot assign an empty string to a parameter with JDBC type VARCHAR
Hi,
I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
Regards,
Chanti.
Heres the complete detail from logs -
Log Record Details
Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH = ? <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
Date: 2010-03-12
Time: 11:32:37:435
Category: com.sap.xmii.system.FileManager
Location: com.sap.xmii.system.FileManager
Application: sap.com/xappsxmiiearSounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.
-
Replacing NULL and EmptyString('') with "Unknown" in SSRS parameter dropdown
All,
What I want to do is, in the SSRS parameter drop down, instead of showing NULL and Blank values(), i want to categorize them as "Unknown", so, if the user selects "Unknown" from the SSRS drop down parameter, he should be able to see all
the records that have NULL values or empty strings in that particular column in the result set.
Can you tell me, how should I handle it in my main stored proc as well as in the dataset?
Right now, i have something like this:
Where
(t1.name in (select value from dbo.Split(@TName,',')) OR @TName IN ('All'))
-- Where t1.Name has empty strings and NULL values. Both of these values should be categorized under "Unknown"
-- How would the dataset query look like? Right now I have this query for populating the drop down for that parameter:
Select All
UNION
Select Distinct Name
Order BY 1Hello,
Please refer to the following stored procedure:
SELECT
CASE WHEN TName IS NULL OR TName = ''
THEN 'Unknown' ELSE TName END AS TName
From DemoTable
Then, use following query code to get the parameter values:
SELECT Distinct
CASE WHEN TName IS NULL OR TName = '' THEN 'Unknown'
ELSE TName END AS TName
FROM DemoTable
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Host parameter null and convert SOAP to HTTPUrl
Hi,
We are trying to fire a SOAP request and print the response but its throwing this error
Exception in thread "main" java.lang.IllegalArgumentException: host parameter is null
The piece of code is:
HttpClient hc = new HttpClient();
System.out.println("Came here");
int iResultCode = hc.executeMethod(post);
executeMethod(post) is failing but when I print the value of post, its �org.apache.commons.httpclient.methods.PostMethod@fd54d6�
Can anybody throw some light on this error and how to solve it??
Also, there�s another issue.
We are upgrading from Weblogic 7.2 to 9.1
Earlier we were able to pass the request and get the response in HTTPUrl form but now after upgrading, its getting passed in SOAP format. Is there any way to bypass the SOAP and get it in HTTPUrl format or what are the configurations to be made to adapt to the SOAP format?
connection =(HttpURLConnection) url.openConnection();
This line was returning HTTPUrl format, now its coming in SOAP formatyour PostMethod takes the Url as the parameter. Check you are using the proper URl i.e like http://host:port/name?params like that
-
SOURCE_PACKAGE is INCOMPATIBLE with the FORMAL PARAMETER DATA_PACKAGE
Hello Experts,
Infocube A is getting updated from shopping carts DSO. I have added 3 new fields in SC DSO then cube transformations got inactive. I do not want 3 new fields in cube. we have report on DSO. Below is syntax error when checking transformations.
Error: In PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter "SOURCE_PACKAGE" is incompatible with the formal parameter "DATA_PACKAGE".
3 New fields are available in tys_SC_1 but not available in tys_SC_1_full. I tried to insert 3 fields in tys_SC_1_full but still it is showing same syntax error. And more TYPE is availalbe tys_TG_1_full. This type does not have 3 fields.
Please advice.
Thanks in advance.
Regards
Venkata.Hello Rathy,
I have resolved issue by addinng fields to data package. Issue is becasue of 4 fields in source and I have added only 3 fields in data package. Added one more field to data package and no syntax errors when checked.
Thanks for the input and points assigned.
Regards
Venkata Agraharam. -
I have a multi-select parameter that can have a list of thousands of entries. In general, the user will pick a few entries from the list or "Select All". If they check "Select All", I would much prefer that I get a NULL or an empty string
instead of a list of all values. Is there any way to do that?
In experimenting with a work-around, I tried putting an "All" label with a null value in the list, but it is ignored (does not display in the drop-down). If I use an empty string for the value, my "All" entry does get displayed, but so
does "Select All", which is confusing. Is there a way to suppress "Select All"?
- MarkI adapted the following from a workaround posted by JNeo on 4/16/2010 at 11:14 AM at
http://connect.microsoft.com/SQLServer/feedback/details/249227/multi-value-select-all-parameter-in-reporting-services
To get a null value instead of the full list of all values when "Select All" is chosen:
1) Add a multi-value parameter "MyParam" that lists the values to choose.
2) Add a DataSet "ParamCount" identical to the one used by "MyParam", except that it returns a single column named [Count] that is a COUNT(*) of the same data
3) Add a parameter "MyParamCount", set it to hidden and internal, then set the default value to 'Get values from a query', choosing "ParamCount" for the Dataset and the one [Count] column for the Value field.
4) Change the parameter for the main report DataSet so that instead of using [@MyParam], it uses this expression:
=IIF(Parameters!MyParam.Count =
Parameters!ParamCount.Value, Nothing, Join(Parameters!MyParam.Value, ","))
Maybe you are looking for
-
it will not let me download any apps it says that the apps are not compatiable with ios 4.2.1
-
How to locate a photo not in iPhoto
I have a photo that I would like to delete that only shows up in 'media' when I go to attach photos to emails. it is not in iPhotos and i can't find where it is in order to delete it.
-
Javascript Access Denied in WebDynpro Application SP11
Hi all, I'm developing a WebDynpro application that is published in EP as a WebDynpro IView. Deploying the application and running as standalone (out of EP) this works fine but when I access that by EP I get JavaScript errors in DropDowns. I know tha
-
Does anyone know how to maximize an air app without clicking on it? I will try to explain this but it is hard so bear with me? I want an air app that will be minized to the system tray to open when the user highlights text in a desktop application an
-
I currently have 2 web dispatchers that are NW 701. All of my systems that we are looking to use web dispatcher(s) with are also NW701. I can't seem to find a PAM entry for web dispatcher. Is their any version requirements around web dispatcher an