Using 'A Variable' in "Help URL" instead of file path
Hi,
When we edit 'Title' Tab of analysis we get options such as:
1. Title
2. Logo
3. Subtitle
4. Started Time
5. Help URL
In "Help URL" we can refer a file from an exposed directory (bydefault it's analyticRes). Syntax for refering a file is as follows:
fmap: Filename OR
fmap: Custom Folder Name/Filename
But, I want to check if A Variable (eg: Repository) can be used instead for giving path of the file?
Regards,
Jitendra
Not Possible..why don't you use the subtitle box instead of help url?
Similar Messages
-
How to use COMPONENT in a Help URL instead of PAGE?
Anyone know how to configure PeopleTools to use the COMPONENT name as the CONTEXT_ID in the HELP link instead of the PAGE name?
In my web profile I'd like to pass the current component name instead of page name.
http://myhelpserver.com/page=%CONTEXT_ID%
Thanks
Graham
Edited by: GrahamSmith on Apr 27, 2010 10:03 AMthe help_url you are using uses a component name default.. u don't call it by page name. ur URL containing .GBL is always a component name...
This is what i would like to explain...
consider 3 pages P1,P2,P3
2 components C1,C2
3 menus M1,M2,M3
then C1 can be linked to P1 and P2...C2 can be linked to P2 and P3...
same way C1 can be linked to M1 and M2... and C2 can be linked to M3(since M2 is already used by C1)
this should make u clear...
Thnks! -
F4 help popup to browse file path in web dynpro
I need F4 help popup to browse file path in Web dynpro (for example C:\dir\file.xls). Popup should come like FM "F4_FILENAME" in report programming.
Am i need to create another window or is there any other standard functionality there for this help.
Please give your view to achieve this.
Thanks
GokulHello Arun & Abhi,
File upload UI element has showing File browse pop up. But i want to download file from an internal table to Excel. User need to give file path so that the directory selection needs to be done. And also the user will select the directory and type the file name (File so far not exist) for download.
If i add UI element 'File Download' I am getting a link and i cant browse directory and give file.
Give your suggesions.
Thanks
Gokul -
Using a Variable in HttpService url attribute
I have a dynamic url defined below
public var forecastURL:String = "
http://www.weather.gov/forecasts/xml/SOAP_server/ndfdSOAPclientByDay.php?lat="
+ latitude + "&lon=" + longitude +
"&format=12+hourly&startDate=" + todaysDate +
"&numDays=" + numberDays + ""
I would like to use the var without the {} bind. The compiler
complains if the url is not surrounded in quotes. This should be
simple? How can I use a var within the url attribute without the
bind brackets?
<mx:HTTPService
id="forecastRequest"
url = "{forecastURL}" result="resultHandler(event)"
/>Not Possible..why don't you use the subtitle box instead of help url?
-
Use of variable passed with url
hi ,
i am new user for this forum.
i have one problem. i call the html page resides in
coldfution directory from the another web server. now my problem is
that how can i get the variable which are passed with URL ? for
example i call page x.x.x:8500//temp/test.html?id=2 from other
windows web server ie x.x.x.//temp1/test1.php.
now my problem is that is there any facility in coldfusion to
get the value of the variable which are passed with URL . in this
case it is IDHi
do you mean accessing the URL varialbes in CF?
if it is you can say #URL.varname#. -
Is there a way to 'latch' a boolean condition when using local variables? Help!
Hello all
I've made LOTS of progress on my vi over the weekend and even today. I've been battling with a project with this scope:
1. Read temperatures from 24 locations (6 banks of four thermocouples).
2. Set individual channel temperature upper limits
3. Output temperatures, elapsed time and time stamp to file in 5 minute increments AND write data when an overtemperature condition occurs.
4. Use NI-switch to shut off a motor related to each of the 6 banks of thermocouples independently
5. Be able to start/stop elapsed timers on each of the 6 banks based on user input (start/pause) OR conditions (pause at overtemperature)
6. Be able to reset those elapsed timers with user input as well.
I've gotten 1-4 working nicely (although my example included has the DAQ assistant replaced with random number generation) and the NI-switch cases replaced with a simple boolean indicator.
My problems lie in two areas now. First, I need the switch condition AND the 'pause time' to be 'latched' when an overtemperature is reached and NOT continue operation until user input. Basically, when the motor relay is triggered to shut the motor off, I need the timer to stop with it and not restart when the input condition changes (in this case, when the thermocouple drops below the control temperature) until an operator tells it to resume. I also need the switch condition to stay true so that my 1160 isn't switching back and forth every iteration until the temperature drops.
You'll notice there's 5 'elapsed time' express VI's in conditional loops on there--and one time structure in a parallel while loop. The outside structure is the way I'm heading as it retains the value in the elapsed timer when paused. This is critical to the test! All 5 of those elapsed time express VI's will be leaving in favor of more of those outside loop structures. My issue with the outside timing loop structure is that I can't figure out how to 'reset to zero' with a user input like you can with the express VI's, and that it outputs only ms data rather than a HH:MMS format (not a complete deal breaker but would be nice).
Please, anyone in the know, I need to button this up so I can get it implemented soon. My old VI which is currently running the tests is far too user-unfriendly for most of the users to handle and the output to file is a wreck... THANKS so much in advance.
Ralph
Still confused after 8 years.
Attachments:
temperatures.vi 730 KBI've looked up the enum constant and am completely baffled as to how to use this to do what I'm trying. Can you shed a bit more light on the subject?
Still confused after 8 years. -
Data Acquisition - using local variables to write data to a file
Hello,
I am running a Data Acquisition vi (currently in LabVIEW 7.1 but soon to be updated to 8.2) that collects ~100 parameters of data from several sources contained in a while loop. The current configuration (which I did not write) uses very few subVIs and writes to ~100 local variables to store each parameter. It then reads all the local variables and builds an array of all the strings, converts then to a spreadsheet string, then uses the write characters to file function to append to a datafile. I am trying to clean things up and have came up with subVIs to collect the data from the following sources:
8 serial port sources collecting btwn 8 and 20 parameters each
~15 thermocouple readings
~10 analog inputs
~20 parameters read off an ARINC 429 bus.
I have come up with a subVI to read each of the sources and have placed the subVIs in the while loop. Each subVI outputs the data that it collects in array or cluster form. I was wondering how best to write each parameter to a CSV file at between 1 and 10 Hz. Should I write each subVI output to a LV and then read them off as was done before (the difference being that I have reduced the # of LVs to ~10 vs >100?
I should add that precise timing is not that important, so if all the subVIs are not collecting simultaneously (which I understand that they won't be), it does not really matter.
Thanks.Hi jilla,
jilla wrote:
What I think that you are saying is to turn the outputs of the 4 subVIs into inputs of a 5th subVI that writes to the data file. Correct?
Yes. It may sound like a fine-point, but I beileve it's better to create a VI specifically for formatting data - in your example, 4 arrays IN, a single string OUT. Then write the string to file as a seperate operation. GUI-displayed data can go through a similar transformation, the four arrays wired to a subVI which builds output-structures specifically for display. It's a beginner's mistake to put lots of individual controls and indicators on the screen when groups of them are naturally related (in an object-oriented sense.) Use clusters to group related controls - this will keep the diagram much cleaner.
One more question: at what point (either # of data points or frequency of data collection) does it become necessary to use queues? Thanks.
Well, there's not really a clearly definable "point". I'd say if your update-rate climbs above 100Hz, or you witness poor program or system performance, then it's time. The scenario you've described is a fairly simple acquire/display&log loop - and simple is good. Then-again people can't see/react-to updates faster than about 10Hz - so it doesn't make sense to sacrifice performance - if performance becomes an issue.
Re: queues: Queues are sometimes used to buffer data that's "produced" in one place and "consumed" in another.
Here, if/when logging data, you're logging with every DAQ. I wouldn't recommend using a queue to transport data from a "DAQ loop" to a "Logging-loop" - those functions can be in the same loop. Should/could a queue be used to get data from a "DAQ loop" to update the GUI at a lower frequency? Sure, but a Notifier might be a better choice. Further, in the (simple?) program you've described, you might use a case structure (True/False) to only update FP indicators every "X" iterations - a simple solution that doesn't require Queues or Notifiers.
Cheers!
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare) -
Using -classpath "@c:/temp/foo.tmp" instead of whole path
We are using WLS 6.0 and beasvc to start the server as an NT service.
Within the registry for the service, there is a cmdline value that we would
like to substitute the whole classpath settings for just a file that
contains the information. In a previous post from someone, we saw that we
would use the following:
-classpath "@c:/temp/foo.tmp"
The problem is that the service will not startup. When I attmept to launch
the server manually from a command prompt using:
java -ms64m -mx64m -classpath "@c:/temp/foo.tmp" ...... I receive the
following error:
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
Has anyone been able to perform this succesfullyKirk,
Can you test without the quotes(")
-classpath @c:/temp/foo.tmp
The CMDLINE should be something like this
set CMDLINE="-ms64m -mx64m -classpath @D:\610\cp.txt
-Dweblogic.Domain=examples -Dweblogic.Name=testserver
-Djava.security.policy==\"d:\610\wlserver6.1/lib/weblogic.policy\"
-Dbea.home=\"d:\610\" weblogic.Server"
Hope this helps
Raj Alagumalai
kdahl wrote:
We are using WLS 6.0 and beasvc to start the server as an NT service.
Within the registry for the service, there is a cmdline value that we would
like to substitute the whole classpath settings for just a file that
contains the information. In a previous post from someone, we saw that we
would use the following:
-classpath "@c:/temp/foo.tmp"
The problem is that the service will not startup. When I attmept to launch
the server manually from a command prompt using:
java -ms64m -mx64m -classpath "@c:/temp/foo.tmp" ...... I receive the
following error:
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
Has anyone been able to perform this succesfully -
Should i use pipeline in order to get data from file path to create metadata?
Hi,
we use sharepoint 2013 to index file share and the folders structure represents data as project name / subject etc.
Do you reccomend use pipeline capabilities in order to create metadata from those folders name? (so we will be able to use it as refiners later).
In case so - how to do it?
thanks
keren tsurHi Keren,
According to your description, my understanding is that you want to convert folder structure to SharePoint metadata.
For achieving your demand, you can use the tool in codeplex:
Folders To SharePoint Metadata Migrator (Folders2SP)
Also you can have a look at the blog:
http://en.community.dell.com/techcenter/sharepoint-for-all/w/wiki/5443.converting-folder-structure-to-sharepoint-metadata.aspx
http://stackoverflow.com/questions/22411014/sharepoint-script-to-automatically-import-documents-from-a-network-share-on-a-r
http://en.share-gate.com/blog/map-folder-names-to-sharepoint-metadata
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Using bind variable with IN clause
My application runs a limited number of straight up queries (no stored procs) using ODP.NET. For the most part, I'm able to use bind variables to help with query caching, etc... but I'm at a loss as to how to use bind variables with IN clauses. Basically, I'm looking for something like this:
int objectId = 123;
string[] listOfValues = { "a", "b", "c"};
OracleCommand command = new OracleCommand();
command.Connection = conn;
command.BindByName = true;
command.CommandText = @"select blah from mytable where objectId = :objectId and somevalue in (:listOfValues)";
command.Parameters.Add("objectId", objectId);
command.Parameters.Add("listOfValues", listOfValues);
I haven't had much luck yet using an array as a bind variable. Do I need to pass it in as a PL/SQL associative array? Cast the values to a TABLE?
Thanks,
NickNevermind, found this
How to use OracleParameter whith the IN Operator of select statement
which contained this, which is a brilliant solution
http://oradim.blogspot.com/2007/12/dynamically-creating-variable-in-list.html -
Using shared variables in a rt target
Hi all,
I wrote a diesel engine ECU in LV 7.1 FPGA and ran it for the past year, using TCP VI's to communicate between the Host and cRIO-9004.
Next, I translated it to LV 8.0 (with some difficulty recompiling the FPGA) and it worked fine up to that point.
Next step was to use the much-touted shared variables to eliminate all the TCP overhead. I defined 2 shared variables as big clusters with lots of controls and data passing back and forth. This worked fine while running under the source code. However, once I compiled the Host and cRIO code (ECUHost.exe and C:\NI-RT\startup\startup.rtexe), the sharing stopped.
I tried defining and binding the variables under My Computer and also tried under the cRIO target, with no success. I was able to get source code to talk to compiled code (I forget which one was which), but not when both were compiled.
Thanks for any suggestions,
McSynthThat is quite strange. Here is some information regarding shared variables and building stand alone applications that may or may not help:
Using Shared Variables in Stand-Alone Applications or Shared Libraries
If you plan to distribute a stand-alone application or shared library (DLL) that uses shared variables, do not include the .lvlib file in an LLB, the executable, or the DLL. Use the Source Files Setting page of the Application Properties dialog box or the Source Files Setting page of the Shared Library Properties dialog box to change the Destination of the .lvlib file to a destination outside the executable, LLB, or DLL.
Best Regards,
Jaideep -
Help with emailing a URL instead of attachment
Hi all:
I have this question.
We have hundreds of Oracle Reports .rdf's from way back.
We now want to run them in Oracle Reports Server 10g (9.0.4.1).
What we want to do is set destype=FILE when we run rwservlet.
And then when the process/job finishes, email the user a URL link to the output report that is stored in the server. This will avoid having to email large output files through the mail server. I know we can set destype=MAIL but that also sends the output file to the mail server/end-user as an attachment and our output files are large. Emailing a URL link is actually better.
We do not want to modify all our .rdf's/.rep's just to enable this functionality. I was hoping to inject probably a piece of code that the Report Server could run after it finishes running the .rdf and checking that the .rdf ran successfully.
Is this at all possible?
I was referred to OracleAS Wireless Notification found in
www.oracle.com/technology/products/reports/pluginxchange/plugins/notification/wireless/index.html.
But I am not a Java developer so I would appreciate any help I could get.
I firmly believe that emailing URL links are better than emailing attachments especially in a corporate environment. It makes more efficient use of email.
I hope Oracle Reports development would consider adding this functionality in the future but right now, I really need help.
thanks in advance,
danielanswered in this thread:
passing baseHTMLJInitiator in a URL instead of in formsweb.cfg
thanks -
I am trying to pass w path from an XML file to a URL path so that Flash will load in an image. I have it reading into Flash from the XML file but I dont know how to convert it to a URL.
This loads the XML into a varialbe.
var imageList:XMLList = organInput.organ.(@name==organName).imagePath;
var imagePath:String = imageList;
Then I want to use it as a relative url.
var request:URLRequest = new URLRequest(imagePath);
But it throws an errror. If i put the relative path in manual it works. Anyone know what I am doing wrong?
Thanks.ok I am going to post the code I am using and hope it helps because I am still having trouble. Thank you for looking at this.
import flash.display.MovieClip;
//Button Listeners//
organtrak.esophagus_btn.addEventListener(MouseEvent.CLICK, esophagusButtonCLICK);
organtrak.esophagus_btn.addEventListener(MouseEvent.ROLL_OVER, esohpagusMouseOver);
organtrak.esophagus_btn.addEventListener(MouseEvent.ROLL_OUT, esohpagusMouseOut);
function closewindow(e:MouseEvent):void
trace("Close Activity Window");
questions.gotoAndStop("empty");
function esophagusButtonCLICK(e:MouseEvent):void
trace("esophagus_btn CLICKED!");
questions.gotoAndStop("esophagus");
questions.curtain.play();
organName = "esophagus";
ParseBooks(organList);
imageloader(organName);
questions.close_btn.addEventListener(MouseEvent.CLICK,closewindow);
function esohpagusMouseOver(e:MouseEvent):void
trace("MouseOver Esophagus");
organtrak.esophagus.scaleX = 2;
organtrak.esophagus.scaleY = 2;
organtrak.esophagus.alpha = 1.0; //100% Alpha
organtrak.setChildIndex(organtrak.esophagus, 3);
function esohpagusMouseOut(e:MouseEvent):void
trace("MouseOut Esophagus");
organtrak.esophagus.scaleX = 1;
organtrak.esophagus.scaleY = 1;
organtrak.esophagus.alpha = .5; //50% Alpha
//Image loader function
function imageloader(organName):void
questions.image_window.status_txt.visible = true;
var request:URLRequest = new URLRequest(imagePath);
questions.image_window.UILoader.scaleContent = true;
questions.image_window.UILoader.addEventListener(Event.COMPLETE, completeHandler);
questions.image_window.UILoader.addEventListener(ProgressEvent.PROGRESS, progressHandler);
questions.image_window.UILoader.load(request);
function progressHandler(event:ProgressEvent):void
questions.image_window.status_txt.text = "Percentage Loaded: " + Math.round(event.target.percentLoaded);
//trace("Loading");
function completeHandler(event:Event):void
questions.image_window.status_txt.text = "Image is loaded";
//trace("Loading Done");
questions.image_window.status_txt.visible = false;
//XMLLoader Script//
import flash.net.URLVariables;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("XML/organtext.xml"));
//organName = "esophogas";
function LoadXML(e:Event):void
XML.ignoreWhitespace = true;
var organList:XML = new XML(e.target.data);
function ParseBooks(organInput:XML):void
trace("XML Output");
trace("------------------------");
var organList:XMLList = organInput.organ.(@name==organName).name;
var descriptionList:XMLList = organInput.organ.(@name==organName).descriptions;
var imageList:XMLList = organInput.organ.(@name==organName).imagePath;
var image2List:XMLList = organInput.organ.(@name==organName).imagePath2;
var videoList:XMLList = organInput.organ.(@name==organName).videoPath;
var imagePath:String = imageList;
trace(imagePath); -
Using a variable as part of a url
Hi
Thanks for checking in!. I am trying to define one folder in
a url as a variable
//Here is what my code looks like before I try to use a
variable as part of the url. And this works just fine.
var nextImage:String = "events/1.jpg";
this.loaderTarget_mc.loadMovie("loader.swf")
//But when I try define the events folder as a variable I am
having no luck.
var gallery:String = "events";
var nextImage:String = "(gallery)/1.jpg";
this.loaderTarget_mc.loadMovie("loader.swf")
I am hoping what I am doing wrong here will be obvious to
someone who knows more than I do. Any ideas?
Thanks again
ScottUsing variable inside a String Delimeter will make it as
String. So put the variable out side the double code.
var nextImage:String = gallery + "/1.jpg"; -
Using Double Byte Characters in URL For Session Variables
When I supply the value for a session variable in the URL for an IRPT page where the value contains double byte characters, Japanese in this case, the characters are corrupted by the time they are entered for the session variables. Does anyone know a solution to this problem or experience in this area? Currently using xMII 11.5 SR3.
Hi Bryan,
I would suspect that under the covers the session variable is of datatype string. For double byte characters, it would need to be wstring. There is a better explanation to be found at:
Link: [Kanji and Java Datatypes|http://www.unix.com.ua/orelly/java-ent/jenut/ch10_04.htm] or you can try google on Kanji Datatype OR Kanji Java Datatype
It could also be a problem with the operating system which I ran into about 10 years ago, but I would hope that Microsoft had moved beyond that by now.
Maybe some more technical folks could chime in to confirm or deny my explanation.
Mike
Edited by: Michael Appleby on Jul 8, 2008 5:23 PM
Maybe you are looking for
-
Front end and Back end experience in SAP BW
Hi Friends... Can ne1 plz explain wht things in SAP BW come under Front end and Back end experience......Thanks in advance
-
File adapter receiver channel is not initialized.
Hi iam wrking idoc-file scenario, as per the requirement i have created 4datatypes 4 mapping in IR with 4 communaction chanles in ID. the scenarios is working fine with 3 mappings.but in 4 the scenario the file genaraing properly , i have cheked in
-
Recently RAW files need to be re-processed. Why?
Sorry for the long subject line! When I load RAW files into Aperture, they are all dark and dim. I receive a message saying that an older Apple Raw processor was used, and I'm asked to reprocess, which I do and everything is fine. But how can I elimi
-
Stock lying in Quality from LQUA
Hi All, How do i determine the Stock lying in Quality/Returns/Blocked from LQUA ....? I mean among the below set of fields which can give me Q- stock , Blocked , return stock etc (for WM) LQUA-BESTQ = space available stock Q Stock in
-
PyGTK GTK.Dialog doesn't disappear when destroyed
I'm creating a Python module for precanned GTK dialog boxes. The code to create the dialog box works fine - I get the return code, etc. I want - but when I try to destroy the dialog box, the box freezes until the interpreter exits. The function retur