How to set locking for all values of a char other than using query
Hi Friends,
any suggestions? I like to explicitly lock all possible values of a particular characteristic in a cube without using a filter.
thanks!!
Cran
Edited by: Cranberry CranCran on Jan 31, 2008 4:48 PM
If you dont restrict the characteristic using any value in the filter, then all values will be locked.
Similar Messages
-
Bpel deployment fails for all processes that have revision other than 1.0.
Using: Release *10.1.3.3.1*
Hello All,
Bpel deployment fails for all processes that have revision other than *1.0*.
We have been attempting to deploy several BPEL projects via ANT script to a target environment and are encountering failures to deploy for every project which isn’t a (revision 1.0). We are getting the following error whenever we try to deploy a process with a revision other than 1.0:
D:\TJ_AutoDeploy\BPEL_AutoDeploy_BETA\build.xml:65: BPEL archive doesnt exist in directory "{0}"
at com.collaxa.cube.ant.taskdefs.DeployRemote.getJarFile(DeployRemote.java:254)
at com.collaxa.cube.ant.taskdefs.DeployRemote.deployProcess(DeployRemote.java:409)
at com.collaxa.cube.ant.taskdefs.DeployRemote.execute(DeployRemote.java:211)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
The structure of our automated deployment script is as follows:
First, a batch script calls (Jdeveloper_BPEL_Prompt.bat) in order to set all necessary environment variables i.e. ORACLE_HOME, BPEL_HOME, ANT_HOME, etc for ant.
Next, the script lists every .jar file within the directory to an .ini file called BPEL_List.ini. Furthermore, BPEL_DIR, ADMIN_USER and ADMIN_PSWD variables are set and initialized respectively to:
- “.” – point to directory where script is running from because all the BPEL processes are located here
- “oc4jadmin”
- “*********” (whatever the password for out environment is)
We’ve developed a method to have the script prompt the user to select the target environment to deploy to. Once the user selects the appropriate environment, the script goes through the BPEL_List.ini files and a loop tells it that for every BPEL process listed:
DO ant
-Dprocess.name=%%b
-Drev= !Rev!
-Dpath=%BPEL_DIR%
-Ddomain=default
-Dadmin.user=%ADMIN_USER%
-Dadmin.password=%ADMIN_PWD%
-Dhttp.hostname=%HOST%
-Dhttp.port=%PORT%
-Dverbose=true
(What’s happening is that the variables in the batch file are being passed on to the ANT script where *%%b* is the process name, !rev! is revision #, and so on…)
The loop goes through each line in the BPEL_List.ini and tokenizes the BPEL process into 3 parts *(%%a, %%b, and %%c)* but we only extract 2 parts: *%%b* (process name) and *%%c* which becomes !Rev! (revision number).
Example:
Sample BPEL process:
bpel_ThisIsProcess1_1.0.jar
bpel_ThisIsProcess2_SOAv2.19.0.001B.jar
After tokenizing:
%%a %%b %%c
bpel ThisIsProcess1 1.0.jar
bpel ThisIsProcess2 SOAv2.19.0.001B.jar
*!Rev!* and not *%%c* because *%%c* will return whatever the revision number is + the “.jar” file extension as illustrated above. So to circumvent this, we parse *%%c* so that the last 4 characters are stripped. Such is done like this:
set RevN=%%c
set RevN=!RevN:~0,-4!
Hence, the usage of !Rev!.
Below is a screenshot post of the ANT build.xml that goes with our script:
<!--<?xml version="1.0"?>-->
<!--BUILD.XML-->
<project name="bpel.deploy" default="deployProcess" basedir=".">
<!--
This ant build file was generated by JDev to deploy the BPEL process.
DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
in default target in user created pre-build.xml or post-build.xml
-->
<property name="process.dir" value="${basedir}" />
<!-- Set BPEL process name -->
<!--
<xmlproperty file="${process.dir}/bpel/bpel.xml"/>
<property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
<property name="rev" value="${BPELSuitcase(rev)}"/>
-->
<property environment="env"/>
<!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
<condition property="bpel.home" value="${env.BPEL_HOME}">
<available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml" />
</condition>
<!-- show that both bpel and oracle.home are located (TESTING purposes ONLY) -->
<!-- <echo>HERE:${env.BPEL_HOME} ${env.ORACLE_HOME}</echo> -->
<!-- END TESTING -->
<!--If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
<property name="oracle.home" value="${env.ORACLE_HOME}" />
<property name="bpel.home" value="${oracle.home}/bpel" />
<!--First override from build.properties in process.dir, if available-->
<property file="${process.dir}/build.properties"/>
<!--import custom ant tasks for the BPEL PM-->
<import file="${bpel.home}/utilities/ant-orabpel.xml" />
<!--Use deployment related default properties-->
<property file="${bpel.home}/utilities/ant-orabpel.properties" />
<!-- *************************************************************************************** -->
<target name="deployProcess">
<tstamp>
<format property="timestamp" pattern="MM-dd-yyyy HH:mm:ss" />
</tstamp>
<!-- WRITE TO LOG FILE #tjas -->
<record name="build_verbose.log" loglevel="verbose" append="true" />
<record name="build_debug.log" loglevel="debug" append="true" />
<echo></echo>
<echo>####################################################################</echo>
<echo>BPEL_AutoDeploy initiated @ ${timestamp}</echo>
<echo>--------------------------------------------------------------------</echo>
<echo>Deploying ${process.name} on ${http.hostname} port ${http.port} </echo>
<echo>--------------------------------------------------------------------</echo>
<deployProcess
user="${admin.user}"
password="${admin.password}"
domain="${domain}"
process="${process.name}"
rev="${rev}"
dir="${process.dir}/${path}"
hostname="${http.hostname}"
httpport="${http.port}"
verbose="${verbose}" />
<sleep seconds="30" />
<!--<echo message="${process.name} deployment logged to ${build_verbose.log}"/>
<echo message="${process.name} deployment logged to ${build.log}"/> -->
</target>
<!-- *************************************************************************************** -->
</project>
SUMMARY OF ISSUE AT HAND:
~ Every bpel process w/ 1.0 revision deploys with no problems
~ At first I would get an invalid character error most likely due to the “!” preceding “Rev”, but then I decided to set rev=”false” in the build.xml file. That didn’t work quite well. In another attempt, I decided to leave the –Drev= attribute within the batch script blank. That still led to 1.0s going through. My next thought was deploying something other than a 1.0, such as 1.2 or 2.0 and that’s when I realized that if it wasn’t a 1.0, it refused to go through.
QUESTIONS:
1. IS THERE A WAY TO HAVE ANT LOOK INTO THE BPEL PROCESS AND PULL THE REVISION ID?
2. WHAT ARE WE DOING WRONG? ARE WE MISSING ANYTHING?
3. DID WE GO TOO FAR? MEANING, IS THERE A MUCH EASIER WAY WE OVERLOOKED/FORGOT/OR DON’T KNOW ABOUT THAT EXISTS?
Edited by: 793292 on Jul 28, 2011 12:38 PMOnly thing i can think of is instead of using a MAC ACL , u cud jus use the default class
Policy Map Test
class class-default
police 56000 8000 exceed-action drop
Class Map match-any class-default (id 0)
Match any
You would be saving a MAC-ACL ;-). -
How to set preferences for all users?
I'm working with a windows CITRIX server and I need to disable the 'Remember passwords for sites' preference for all the users on the server. How do you do this for any user launching firefox on the server?
You can lock the signon.rememberSignons pref to false via the mozilla.cfg file.
lockPref("signon.rememberSignons", false);
You canuse a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value
pref(); // set pref, allow changes in current session
lockPref(); // lock pref, disallow changes
See:
*http://kb.mozillazine.org/Locking_preferences
*http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
*http://mike.kaply.com/2014/01/08/can-firefox-do-this/ -
How to set 0 for "Nan" Value in the Column
Hi All,
I have 3 imp columns with name Build %,Deploy%,Validation % and I would like to set the value as "0" or "1" using formula and below is the formula . But I am getting the values as "Nan" due to that it's reflecting the
Pivot Table & Report which show in below 2nd image.
And I had written formula as "=SWITCH(EDSCIMonthlyReport[Build %] , "Nan", 0)" to copy all the values of the Build % Field to another calculated Column and set the value "0" if found "Nan" ,But I am getting
error as"Function 'SWITCH' attempted to compare values of incompatible types. Ensure that both values are Numeric, String, or Boolean(True/False). Consider using the VALUE or FORMAT function to convert one of the values".Can any one help me how can
I solve this issue
Thanks,
SidHello Sid,
Again TFS? The data type of the column is "text" and now you want to convert it to a numeric to use it as a measure, right?
- First you have to change "NaN" to "0" (<= 0 as type "Text"!, see your error msg); you can do it with an IF expression
- Then you have to remove the % sign; it's a text as well. For this you can use the SUBSTITUE function
- Then you can convert it to a numeric using the VALUE function
As one complete expression it will look like this:
= VALUE(SUBSTITUTE(If(Tabelle3[Build] = "NaN"; "0"; Tabelle3[Build]); "%"; ""))
As you can see in below screenshot PowerPivot automatically detects the data type as "Decimal"; now you can use it as a measure value.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
How to set condition for Characteristic values in report
Hi Experts,
I have a report where the service order will have 1or more part and its corresponding part status.
I want to highlight or give some indication to those service orders where all the parts status are Part Received.
The service order with different part status can be ignored.
FYI: I don't have any keyfigure in my report.
Can anyone please advice me on this.
ThanksHi Ahmed,
You cannot achieve this using this Conditions, as the condition can be defined on a characteristic but u cannot say that for a service orders all the parts status are PART RECEIVED.
For this kind of requirements, you need to add an Flag (Characteristic) and check in the Transformation if all the Part Status are PART RECEIVED for a Service Order and mark the Flag as 'X'.
In the report jst filter on the flag as 'X'. It should resolve.
Regards,
Chathia. -
How to set color for a tabstrip in BSP
Hello all,
Can anyone please let me know how to set color for a tabstripn in BSP?
I am using the below syntax but it still gives me the default color.
<htmlb:content design="design2003" >
<htmlb:page title="test " >
<htmlb:form>
<htmlb:tabStrip id = "TabStrip"
bodyHeight = "200"
bodyColor = "red"
width = "700" >
</htmlb:tabStrip>
</htmlb:form>
</htmlb:page>
</htmlb:content>
Thanks,
SandeepHi...
The below code is working fine for me...
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page title="stg " >
<htmlb:form>
<htmlb:tabStrip width = "430"
bodyColor = "rgb(88,5,64)"
id = "t1"
bodyHeight = "112" >
<htmlb:tabStripItem id = "t1"
index = "1"
title = "Sales"
tooltip = "My Tooltip for Tab 1" >
<htmlb:textView text="Tab N 1" />
<htmlb:tree id = "treeReports"
showTitle = "true"
table2 = "<%= mt_nodes %>"
title = "Menu"
width = "100%" />
</htmlb:tabStripItem>
<htmlb:tabStripItem id = "t2"
index = "2"
title = "Production"
tooltip = "My Tooltip for Tab 2" >
<htmlb:textView text="Tab N 2" />
</htmlb:tabStripItem>
</htmlb:tabStrip>
</htmlb:form>
</htmlb:page>
</htmlb:content> -
HT201304 How do I set password for all in app purchases?
How do I set password for all in app purchases? xx
In-App purchases cannot be made without entering your iTunes store account password.
-
I finally uploaded the now operating system 5.0 and set up iCloud. It rearranged all my apps on my iPhone, and took my NYTimes app out of the folder I set up for all my news apps and now I can't get it out. Nor can I move my other news apps onto the newsstand. Any ideas?
You can't (at the moment). Have been playing around with the same problem for about an hour - very irritating!!!
If enough of us complain, (to the NYTimes) they might have it switched back, but I doubt it. From the marketing point of view I would imagine they want "Newstand" to be THE subscription center, which does make sense. -
How to set registry for sql client on win...
Hi.
how to set registry for sql client on win fro work with Ukranine
charset.
I got such problem
nls_language set to American_Ukranine.clmswin1251 on client
this give me ukraniane char.
but it override all my settings in initsid.ora this mean
nls_date_format=DD-MON-YYYY
nls_date_languages
twhen I type select sysdate vrom dual answer is 11-jun-99, but
not 11-(ukr month)-1999;
What should I correct in regestry? ( i don't like to do alter
session set..... each time I start sqlplus )
Thank You in advice
nullyou can create method on Application Module and to Client listener
like
public Object[] getData(Number n,Date d)
Object val[]= new Object[2];
String sp = "{? = call get_data(?,?,?)}";
Connection conn = null;
CallableStatement proc = null;
try {
// conn = isConnSupplied ? userConn : ResourceManager.getConnection();
proc = getDBTransaction().createCallableStatement(sp,0);
proc.registerOutParameter(1, OracleTypes.Number);
proc.setObject(2,12);
proc.setObject(3,dateobj);
proc.registerOutParameter(2, OracleTypes.VARCHAR);
proc.executeQuery();
int amttext= proc.getInt(1); //for return value
String msg=proc.getString(2);//for out param
val[0]=amttext;
val[1]=msg;
catch(Exception e)
System.out.println(e);
return val;
}and access this method from backing bean using following code-
BindingContext bindingctx=BindingContext.getCurrent();
BindingContainer binding=bindingctx.getCurrentBindingsEntry();
OperationBinding operationBinding1 = binding.getOperationBinding("getData");
operationBinding1.getParamsMap().put("n",anyno);
operationBinding1.getParamsMap().put("d",dateobj);
operationBinding1.execute();
String vval[] =(String[])operationBinding1.getResult(); -
HOW TO: set anchoredObjectSettings for .palce() object?
Hi, I'm currently working on interesting script for GREP placing, and I'm wondering how I can set anchoredObjectSettings for .palce() object?
for(i=0; i < found.length; i++)
foundElem = new File (myFolder + "/" + found[i].contents);
found[i].place(foundElem); // Placing Ancored Object
// HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object
//anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
//anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
Here you can download example files - script, InDesign file and images, that should be placed into InDesign file with script
Dropbox - GREP placing.zip
PS: I believe this script will be very useful, so if anybody have any ideas/suggestions, and want to help me with further development - this would be great!Hi Kai, this script is still under development, here is updated version attached (now it can also place files/images by file name only, without extension):
#target indesign;
//#include "! Basic functions.jsx"
GREP place files.
This script will ask to select source folder with files to place,
and then, with dialog box (or prompt) [this is not implemented yet, so I use static GREP value while developing]
will ask to type GREP find expresion to search for text placeholder, that need to be replaced with file from source folder we just selected.
TODO: Check how it works with other than image formats
Also, this might be usefull to make anchored frame with column widh, and fit image proportionally
scriptName = decodeURI(File(app.activeScript).name.slice(0, -4)); // detect name of current script without expression
function Alert(msg) // function for native-looking alerts
w = new Window ("dialog", scriptName, undefined, {closeButton: true});
w.preferredSize = [300,75]; // window width and height
w.margins = 15; // window margins
w.orientation = "column";
w.alignChildren = ["left", "top"];
w.add("statictext", undefined, msg);
close = w.add ("button", [0,0,96,20], "OK", {name: "Ok"});
close.alignment = ["right", "bottom"];
close.onClick = function(){exit();}
w.show();
main();
function main()
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
if(app.documents.length == 0)
Alert("No documents are open. Please open a document and try again."); exit();
else
//> START OF doUndoWraper
if (parseFloat(app.version) < 6) // "app.version < 6" if it's running under an earlier version than CS4, as earlier versions don't support "Undo" in scripts
doUndoWrapper();
else
app.doScript(doUndoWrapper, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, scriptName);
//< END OF doUnoWraper
function doUndoWrapper() // this is the wraper function UNDO everything script made by single undo
{// START OF doUndoWrapper
defaultGREPexpression = "(?i)^[a-z0-9 _-]+\\.\\w{2,4}$"; // Paragraph that starts with upper or lower case latin character, digits, spaces, hyphen or underscore, and ends with .extension
var myFilteredFiles;
var myExtensions = []; // initialize array
myExtensions.push(".jpg", ".jpeg", ".png", ".gif"); // raster images
myExtensions.push(".psd", ".tif", ".tiff", ".pdf"); // raster images (layered)
myExtensions.push(".ai", ".eps", ".svg", ".cdr"); // vector graphics
myExtensions.push(".mp3"); // audio files
myExtensions.push(".mp4"); // video files
myExtensions.push(".swf"); // flash files
myExtensions.push(".doc", ".docx", ".rtf", ".txt"); // text documents
myExtensions.push(".xls", ".xlsx"); // table documents
//Display the folder browser.
if(app.activeDocument.saved) // our document was saved before - we suggest to start search for source folder from were InDesign file saved
var myFolder = Folder(app.activeDocument.filePath).selectDlg("Select the source folder with files for placing", "");
else // file was not saved before, so we don't know where to search > suggest to start from Desktop
var myFolder = Folder.selectDialog("Select the source folder with files for placing", "");
if(myFolder) // if folder was selected
//Get the path to the folder containing the files you want to place.
var files = new Object(); // This will assoc array with FILE_NAME => FILE_EXTENSION
if(File.fs == "Macintosh")
myFilteredFiles = myMacOSFileFilter(myFolder);
else
myFilteredFiles = myWinOSFileFilter(myFolder);
if(myFilteredFiles.length != 0) // success: we have found supported files to place
for(i = 0; i < myFilteredFiles.length; i++)
var filename = myFilteredFiles[i].fsName.toString().replace(/^.*[\\\/]/, ""); // now we get only file names with extenstions
var file = [];
file = filename.split("."); // separate file name from file extension
files[file[0]] = file[1]; // write FILE_NAME => FILE_EXTENSION as assoc array
else // error: There is no supported files for placing in specified folder
Alert("ERROR: There is no supported files for placing in specified folder.");
exit();
else // ERROR: we have not choose source folder
Alert("Folder with source files was not specified"); exit();
//Windows version of the file filter.
function myWinOSFileFilter(myFolder)
var myFiles = new Array;
var myFilteredFiles = new Array;
for(myExtensionCounter = 0; myExtensionCounter < myExtensions.length; myExtensionCounter++)
myExtension = myExtensions[myExtensionCounter];
myFiles = myFolder.getFiles("*"+ myExtension);
if(myFiles.length != 0)
for(var myFileCounter = 0; myFileCounter < myFiles.length; myFileCounter++)
myFilteredFiles.push(myFiles[myFileCounter]);
return myFilteredFiles;
function myMacOSFileFilter(myFolder)
var myFilteredFiles = myFolder.getFiles(myFileFilter);
return myFilteredFiles;
//Mac OS version of file filter
//Have to provide a separate version because not all Mac OS users use file extensions and/or file extensions are sometimes hidden by the Finder.
function myFileFilter(myFile)
var myFileType = myFile.type;
switch (myFileType)
case "JPEG":
case "EPSF":
case "PICT":
case "TIFF":
case "8BPS":
case "GIFf":
case "PDF ":
return true;
break;
default:
for(var myCounter = 0; myCounter<myExtensions.length; myCounter++)
var myExtension = myExtensions[myCounter];
if(myFile.name.indexOf(myExtension)>-1)
return true;
break;
return false;
//> START OF GREP expression dialog
w = new Window ("dialog", scriptName+": specify expression", undefined, {closeButton: true});
w.preferredSize = [300,75]; // window width and height
w.margins = 15; // window margins
w.orientation = "column";
w.alignChildren = ["left", "top"];
panel = w.add("panel", undefined, "Find what: (GREP expression)");
if(app.findGrepPreferences.findWhat != "")
grepExpression = app.findGrepPreferences.findWhat;
clearFindWhat = false;
else
grepExpression = defaultGREPexpression; // use default GREP expression
//fgrepExpression = "\\[.+\\]"; // \\< means "begining of the world", and \\> means end of the world;
clearFindWhat = true;
var grepExpression = panel.add ("edittext", [0,0,270,20], grepExpression);
grepExpression.active = true;
panel.add("statictext", undefined, "GREP expression no need for for double \\\\ escaping");
ok = w.add ("button", [0,0,96,20], "Continue", {name: "Ok"});
ok.alignment = ["right", "bottom"];
ok.onClick = function()
findWhat = grepExpression.text;
w.hide();
w.show();
//< END OF GREP expression dialog
if(typeof findWhat !== "undefined") // check we have not left GREP expression field empy
app.findGrepPreferences.findWhat = findWhat; // our GREP that search for image placeholder text;
found = app.activeDocument.findGrep();
for(i=0; i < found.length; i++)
if(found[i].contents.indexOf(".") > -1) // we wroking with file name with extension
foundElem = new File (myFolder + "/" + found[i].contents);
else // we work with file name only, so we need to add file extension manually
found[i].contents = found[i].contents.replace(/[^a-z0-9 _-]/gi, ""); // remove all unwanted characters from file name: only letters, numbers, spcaces, minus and underscores allowed
foundElem = new File (myFolder + "/" + found[i].contents + "." + files[found[i].contents]);
try
placedObj = found[i].place(foundElem)[0].parent; // THANKS TO: Jump_Over for help @ https://forums.adobe.com/message/6912489#6912489
placedObj.anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
placedObj.anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
placedObj.frameFittingOptions.autoFit = true;
placedObj.frameFittingOptions.fittingOnEmptyFrame = EmptyFrameFittingOptions.FILL_PROPORTIONALLY;
placedObj.frameFittingOptions.fittingAlignment = AnchorPoint.CENTER_ANCHOR;
catch(e)
Alert(e);
app.changeGrepPreferences.changeTo = "";
app.activeDocument.changeGrep();
if(clearFindWhat) // clearing only if typed GREP expression manually
app.findGrepPreferences = app.changeGrepPreferences = null; // clear Find/Change preferences once we finished
else
Alert("Find what GREP expression was not specified"); exit();
}// END OF doUndoWrapper
Top part with Windows/Mac filtering was copy-pasted from default InDeign script "ImageCatalog.jsx" as example and modified - I'm not sure if all this stuff is needed, I haven't test if it works the same without those filtering on both OS - if that's not needed - then thanks for tip!
PS: in your findWhat \l{3,4} will not catch .ai files
and what means .source at the end? is that doing necessary escaping, so with it it's posible to write \l instead of \\l -
Setting timeout for all the web test scripts in the solution
Hello,
I have around 16 web test scripts (using VSTS 2010 ultimate version) in my project (in a solution). By default the timeout set for each request is 60 sec. I need to increase the timeout to 180 sec. Currently, I am clicking on each request and modifying
the timeout parameter from the Properties window.
Is there any common setting for timeout available which would be acting across all the scripts?
Thanks.Hello,
We only can set Timeouts for a separate request in Visual Studio Web Test. There is no way to set Timeout for all requests in VS IDE. But you can write you own logic code using
Timeout Property in a web test plugin to set Timeout for all requests in a web test.
About how to write a web test plugin, please see:
How to: Create a Web Performance Test Plug-In
Best regards,
Amanda Zhu <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later. -
How does APEX check for null values in Text Fields on the forms?
Hello all,
How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
Declare
v_valid boolean;
Begin
IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := FALSE;
ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := FALSE;
END IF;
return v_valid;
END;
My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
ThanksSee SQL report for LIKE SEARCH I have just explained how Select list return value works..
Cheers,
Hari -
Need to run the report for All Values when Null is passed in parameter
Hi All,
In my BIP report, I am using a parameter :asset with Type as Text, which means user will type the values for the parameter in the text box.
Now, this parameter can take multiple comma separated values. I have a requirement to run the report for All Values when user doesn't enter any value in the parameter text box and if user enters any value(s) then the report will run for those values . The way, I tried to handle that in the query using couple of ways was :
IMP : My Database is SQL Server
where
(table.asset = isnull((:asset), table.asset) or table.asset in (:asset))
Now this works fine when I give a single asset number but when I give multiple values separated by comma like 123, 345 in the text box, then the statement fails saying 'encountered ,'
I also tried simply
table.asset in isnull((:asset),table.asset) -- but this doesn't work as it doesn't allow me to use in operater while using isnull and if i will use = operater then it won't work in case of multiple values
Any suggestions on how can I handle this? Any help would be highly appreciated.
Thanks,
Ronnythanks for replying, but i tried this option too, it did not work for me, neither isnull nor coalesce. I mean, the solution work for single value but when i pass multiple values then separated by a comma then it doesn't work and shows me an error like "Incorrect Syntax ','". I am using SQL server as DB and bip is 10.1.3.4.1
also please share the SR number, so i can also check the same.
can there be any other work around to this?
thanks,
ronny -
How to set View for Completed items inside Tasks?
How to set button for 'View' and see Completed items or not completed inside Tasks?
Hi,
You want to set custom views for Tasks folder so that when we click a view button, it will show all Completed or incomplete tasks, am I correct?
Which version of Outlook are you using? There are existing views for completed/incomplete tasks in Outlook. In Outlook 2010 and Outlook 2013, we can find the buttons under View tab > Change View. Click Completed button to view all completed
tasks; Click Active button to view incomplete tasks.
In Outlook 2007, just click View > Current View to switch between different views.
If I've misunderstood something, please feel free to let me know.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to set password for a zip file and should be checked when reading that
Hi friends,
how to set password for a zip file and should be checked when reading that file???
thanks.
Praveen Reddy.JHeyy man, i think, u did not get my problem.
all i have to do is:
i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
Tanks for reply.
Maybe you are looking for
-
I have found a recreatable bug that is somewhat annoying. When listening to music I hit the home screen button then the iCal button. When iCal is loading the music stops and iCal crashes. It happens everytime. Does anyone else get this? Thanks!
-
How to convert a Jsp page in a Pdf
Hi! I have a problem. I need to convert the content of a Jsp page in a pdf , clicking a link. Anybody knows how i can do it? Bye
-
Auhtorization issue with GRANT_ACTIVATED_ROLE and grantable
Hi folks, how can I use a procedure like GRANT_ACTIVATED_ROLE but not just giving the user the rights for the role but also "yes" for grantable. I would like to do so. Thanks for any comments or thoughts! Cheers Klaus
-
Full outer join Bug or my misunderstanding?
CREATE GLOBAL TEMPORARY TABLE BP_ATTRIBUTE_CHARVAL_GTT ( "ATTRIBUTE_ID" NUMBER(10,0), "PARTNER_ID" NUMBER(10,0), "CHAR_VALUE" VARCHAR2(4000 BYTE), "LAST_UPDATE_DATE" DATE, "DISABLE_DATE" DATE ) ON COMMIT DEETE ROWS ; CRE
-
Malwarebyt​es reports psqlpwd.dl​l as Vundo trojan
However, from what I can determine, it is a Logon Stub for the Thinkvantage Fingerprint Software. I've scanned this .dll at virustotal.com and jotti.com, and they say it's clean. I've researched online and I've examined the file properties. I am p