List of Type Descriptor Values
Where can I find a list of the type descriptor values for controls? I am looking at the output of the Cluster Refnum Type Descriptor property. Using the debugger I have found that strings are 16, numerics are 22, but I have not been able to figure out arrays yet.
I am writing a VI that will write an entire cluster to a text file so it will be important to distinguish between 1D/2D arrays and data types stored in the array.
Thanks,
Dave
Message Edited by davey31415 on 10-25-2006 03:59 PM
Thanks for the replies, type descriptors it will be!
I read that post and Scott said the following:
A cluster's property node contains an item called "Controls []", which generates an array of refnums which can be used to access the cluster elements with the generic property node "Value" item. This refnum array can be indexed by the For loop for individual access. Be sure to forcefully limit the number of loops, because the size of the refnum array may not exactly match the actual number of items in the cluster (I think it grows in single byte increments, so it is typically a little bigger.)
Could someone clarify that? I have not been forcing the for-loop index. If the Controls[] array is not the same size as the number of controls in the cluster, what is it the size of? I don't see how the array being incremented in "single byte increments" would cause a problem- if the array WAS the size of the number of controls in the cluster, it would have been incremented in single byte increments as well, right? (Maybe I'm missing something big here?)
Having asked that, how could I determine the number of controls in a property? (My initial thought is to run Array Size on the Controls[] array!)
The other idea I've come up with is parsing the Type Descriptor property- not something I'm eager to set out to do with LV!
Thanks,
Dave
Similar Messages
-
SSAS report action to pass multi-value list of dimention key values to a SSRS report parameter
This was originally posted on StackOverflow and suggested I try here as well.
I want to create a report action in an SSAS OLAP cube that generates a list of formatted values to pass into an SSRS report parameter that accepts a multi-valued parameter list. This would be applied at the
cell level in the SSAS action. I have found a solution that gets me most of the way:
How to Pass Multiple Values from an SSAS Report Drill Through Action to an SSRS Multi-Value Parameter, but not quite. The action does appear in Excel and works
if I run the action from a cell that is at or below the dimension attribute I am generating the list for, in this case,
Account Key.
Below is a link to a screen capture (unable to embed it due to lack of reputation) showing the action and dimension structure in Excel. The action works as long as I run it at the
Account Key level or below. I want to be able to run it at higher levels, such as
Account Major and still have it generate all then related Account Key values for the SSRS report parameter. Running it at the higher
Account Major level does not trigger the report to run.
Excel Action Screen Shot:
http://i.stack.imgur.com/QCGSp.png
Below is the MDX I am using to generate the value for the report parameter:
UrlEscapeFragment(
GENERATE(
DESCENDANTS(
[Account].[Account Key].CurrentMember,
[Account].[Account Key].[Account Key]
[Account].[Account Key].CURRENTMEMBER.Name,
"&rp:Account="
I am hoping that I can somehow modify the MDX above to make it return all the
Account Keys for any attribute of the Account dimension when ran from any measure cell, not just when ran at self and children of
Account Key in the pivot table.
Also, if it helps, I can execute the following MDX query on the cube and get the results I am looking for.
WITH MEMBER [Measures].[Account Key List] as
GENERATE(
DESCENDANTS([Account].[Account].CurrentMember, [Account].[Account].[Account]),
[Account].[Account].CURRENTMEMBER.NAME,
"&rp:Account=")
SELECT {[Measures].[Account Key List]} on 0,
([Account].[Account Company Number].[Account Company Number],[Account].[Account Major].[Account Major]
) on 1
FROM [Company 10 Action Demo]
Below are partial results:
10.116&rp:Account=10.116.010
10.117&rp:Account=10.117.010&rp:Account=10.117.020
10.120&rp:Account=10.120.005&rp:Account=10.120.006&rp:Account=10.120.010&rp:Account=10.120.020&rp:Account=10.120.030&rp:Account=10.120.040&rp:Account=10.120.050&rp:Account=10.120.060&rp:Account=10.120.380&rp:Account=10.120.999
10.123
Questions
Any ideas what I might need to do to get Account Key to be returned for any attribute of the
Account dimension?
Would I possibly have to alter my Account dimension in the cube to get this to work?
Thanks in advance.
Edit 1 - Adventure Works Cube Version
I was unable to get the suggested answer with the "Exists" function to work. To better demonstrate this issue, I have recreated it using the Adventure Works Cube.
I will focus on the Customer dimension, specifically the Customer and
Education attributes. I created a report action called Test Report Action. Below is the XML created for it in the cube.
<Action xsi:type="ReportAction" dwd:design-time-name="f35ad5ee-5167-4fb8-a0e0-0a74cc6e81c6">
<ID>Report Action 1</ID>
<Name>Test Report Action</Name>
<TargetType>Cells</TargetType>
<Target></Target>
<Type>Report</Type>
<ReportServer>SQLSERVER</ReportServer>
<Path>ReportServer?/Test Report</Path>
<ReportParameters>
<ReportParameter>
<Name>Test Customer Existing</Name>
<Value>UrlEscapeFragment(
GENERATE(
EXISTING DESCENDANTS(
[Customer].[Customer].CurrentMember,
[Customer].[Customer].[Customer]
[Customer].[Customer].CURRENTMEMBER.Name,
"&rp:Customer="
)</Value>
</ReportParameter>
</ReportParameters>
<ReportFormatParameters>
<ReportFormatParameter>
<Name>rs:Command</Name>
<Value>Render</Value>
</ReportFormatParameter>
<ReportFormatParameter>
<Name>rs:Renderer</Name>
<Value>HTML5</Value>
</ReportFormatParameter>
</ReportFormatParameters>
</Action>
Below are the steps to re-create the issue.
Connect to the cube in Excel
Add dimension Customer -> More Fields -> Customer
Add measure Internet Sales -> Internet Sales Amount
Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action" and see customer values created for URL
When the action is ran at this point with Customer, I see the values created in the URL shown message box (since there is no SSRS report server at location specified).
Now the part I'm unable to resolve
Remove the Customer dimension and add Customer -> Demographic -> Education
Right-click Internet Sales Amount cell, select "Additional Actions" -> "Test Report Action"
Nothing happens. If I ran the action on the cell next to "Bachelors", I would want it to build up all the list of all the "Customers" that make up the "Bachelors" in the
Customer dimension as part of the report parameter. If no attributes where used in the cube from the
Customer dimension for that cell, then I would like it to return "All Customers", or something similar to show that all customers are included in the aggregations.
I am not too MDX savvy, thus far. I think I need to somehow join the
Customers to Internet Sales Amount in the Generate function portion. I have tried several different combinations of the
Customer dimension and Internet Sales Amount, along with various functions to see if I could get this to work with no success. I am hoping that someone more knowledgeable the me will have a solution. If you need more details,
please ask and I will provide them.Simon,
Thanks for you help with this. This morning I found a workaround. Below describes what that is.
What I ended up doing was getting a list of values from a degenerate dimension that I could use to pass to SSRS to get a list of transactions for a report. Below is how I did this, in relation to the Adventure Works cube using the degenerate dimension
Internet Order Details.
WITH MEMBER [Measures].[Order Param List] AS
GENERATE(
EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
"Internet Sales"),
[Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
"&rp:OrderNum=")
SELECT {[Measures].[Order Param List], [Measures].[Internet Sales Amount]} ON 0
,([Date].[Calendar].[Date]) ON 1
FROM [Adventure Works]
This will get a list of Sales Order Number in a text string, separated by "&rp:OrderNum=" for each measure of
Internet Sales. This would allow me to create an SSRS report to bring back detail information for each
Sales Order Number. Below are some sample results.
May 16, 2007 SO50493&rp:OrderNum=SO50494&rp:OrderNum=SO50495&rp:OrderNum=SO50496&rp:OrderNum=SO50497&rp:OrderNum=SO50498&rp:OrderNum=SO50499&rp:OrderNum=SO50500 $12,157.80
May 17, 2007 SO50501&rp:OrderNum=SO50502&rp:OrderNum=SO50503&rp:OrderNum=SO50504&rp:OrderNum=SO50505&rp:OrderNum=SO50506&rp:OrderNum=SO50507&rp:OrderNum=SO50508 $13,231.62
May 18, 2007 SO50509&rp:OrderNum=SO50510 $4,624.91
With this, I can then create a Report Action in SSRS with a Parameter Value of
UrlEscapeFragment(
GENERATE(
EXISTS([Internet Sales Order Details].[Sales Order Number].[Sales Order Number].Members, ,
"Internet Sales"),
[Internet Sales Order Details].[Sales Order Number].CurrentMember.Name,
"&rp:OrderNum=")
The way I was going about it before was flawed, as I was trying to get a list of the granular values from each dimension used to build the measure value and pass each one of those as separate parameters. I just needed to set something unique for each fact
measure transaction that represents the value and uses that in a query parameter for the SSRS report. -
How to find the list of org .field values in sap
Hi,
I need a list of org files values .
example : I want to know ...
Plant= WERKS,Cost Center=KOSTL.
similarly I need the list of all org. values.
what is the table name?
Thanks in advance
SR
Message was edited by:
sunny rajMy apologies.....
I need the list of non org filed values with the description
example..
BEGRU Authorization group
BSART Order type
BWART Movement type (inventory management)
I have already down loaded org filed values from USVAR table as Ben said.
Thanks,
sr
null -
Pricing condition settings with list cond type
Hi all,
I have a very urgent problem in pricing settings. We are in CRM 4.0 sp6 scenario linked to an ECC 5.
In ECC 5 have been set some condition record that provide the field "list cond type" as blank. This are calculated in ECC but not in CRM that cannot read the blank as value.
Any ideas?
Very urgent.
Thank in advance.
FabrizioHello Fabrizio,
Please refer 1010258 and see if this helps.
Please reward some points.
regards,
Muralidhar Prasad.C -
LabVIEW 8.2 control refnum type descriptor missing
In LabVIEW 7.1, the control refnum had a type descriptor property, I do not see it in LabVIEW 8.2.1? How do you get the type descriptor from a control refnum in LabVIEW 8.2.1?
Respectfully,
RobertMatthew Kelton wrote:
The problem I have is that I have a generic control reference, so I don't know the type. That is why I was using the descriptor to determine the type to properly use variant to data on the Value Property. As it stands now, 8.5 still supports the Type Descriptor if it exists in VI I upgrade, but how long before it disappears? I use this in a generic VI that is used in every project I do, saving me hours per project.
The least NI could have done was just name is TypeDescr16 and TypeDescr32 or something.
TypeDescr32 is NOT exposed and on purpose too so there can't be such a property. And yes there is a chance that the old TypeDesc property disappears at some point. However it won't be tomorrow. The 4.x compatibility mode for the Typecast function (necessary for the boolean size change from 4.x to 5.x) is still there but for the Flatten/Unflatten it had to make place for the 7.x compatibility flag. And it might disappear with LabVIEW 9.x since as I have found out today, LabVIEW 8.5 is the first version that refuses to load 4.x VIs directly.
So the TypeDesc property will probably work until around LabVIEW 12.x when it will cease to support loading LabVIEW 7.x VIs. (Note, this prediction is just a very wild guess and should be taken with a big grain of salt).
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
APEX 4.0.2 Multi-selection on a cascade LOV select list only pass 1 value
Hello everyone,
I am struggling to make a cascading LOV select list has multi-selection.
On one report page.
I have 2 select list
The first one lists the court name (P4_COURT_NAME), the second one (P4_DEFENDANT) list all defendants who currently engaged in the court.
The problem is when I allow the defendant select list become multi-select, when it submit it only pass the first selected value.
So I create just a simple select list based one list of value, and make it allow multi-selection. When it submit, the normal select list can pass selected values properly, while the cascade LOV select list pass only the first selected value.
Please help if any of you have an idea why.
We use APEX 4.0.2.00.07, Oracle data version iis 11g
The some configuration settings I set for the P4_DEFENDANT IS
Value required: Yes
Page Action When value changed: None
Allow Multi Selection: Yes
Named LOV: --Select Named LOV-
Display Extra value : Yes
Display Null Value: Yes
Null Display Value: --Select—
Null return value:
Cascading LOV Parents Items: P4_COURT_NAME
Page Items to Submit: P4_DEFENDANT
Optimize refresh: YES
List of value definition
SELECT def.first_name || ' ' || def.surname || ' (PRN: ' || def.prn || ' )' as d, def.def_id as r
FROM defendant def INNER JOIN court_engagement ce
ON def.def_id = ce.defendant_id
WHERE (ce.date_joined_aodt_court IS NOT NULL
AND (ce.date_terminated IS NULL OR to_date(ce.date_terminated,'dd/mm/yyyy') > to_date(sysdate,'dd/mm/yyyy'))
AND UPPER(ce.court_name) LIKE UPPER(:P4_COURT_NAME)
AND ce.active = 1)Source Used: Only when current value in session state is null
Source Type: Static Assignment
Maintain session state: Per session
The rest is default.
Thanks in advance.
AnnHi Chintan,
The "Source used" for those items are "Always, replacing any value in the session state". To set them to "Only when current value in session state null" sounds a good solution to me.
However, a strange thing just happened - now I will not lose the values of the items after the page reloading, although I have changed nothing in the page in my application since I asked the question. I don't understand why all of a sudden the reloading doesn't make me lose changed values any more. Let me dig it tomorrow to see what I'll find.
Thanks so much for your help.
Christine -
Error in formula processing - List price has null value
I have created a freight/special charge modifier where the qualifier in it is if terms = credit card, then execute. The formula in this modifier is List Price * Numeric Constant. However when I test this I get a Note: Error in formula processing - List price has null value. The List price is NOT null. I'm not sure why I'm getting this error...
Hi,
Thanks for the update.
Actually, my problem got resolved. After analyzing the debug file myself, I narrowed down the error as below
Normal flow Formula Processing begin
In ---Routine:QP_PREQ_GRP.Formula_Processing---
PRICING_PHASE_ID: 2
Processing Formula ID :7512
Line Index: 1
Start Formula...
Formula Line Type = ML, Step = 1
Before populating formula stepvalues temp table
Other Exception ORA-01403: no data found
Exception occurred. Formula value returned is
Formula return status: U
Formula Base Price :
Error returned by QP_FORMULA_PRICE_CALC_PVT.Calculate
And, as per the oracle support note "Error Returned By Qp_formula_price_calc_pvt.Calculate [ID 1282519.1]", after setting the profile value to N, the issue is resolved.
With Regards,
Vishal Majithia -
HELP INPUT TYPE = hidden values SEEN IN URL QUERY STRING!!!
Trying to do session management using hidden fields.
The fields that are suppose to be hidden show up in the query string of the URL.
I have included the code, the output to the web page
and the URL with the "hidden" fields please help.
HIDDEN FIELDS IN URL QUESRY STRING
http://localhost:8080/myApp/servlet/Servlet077?firstName=Sandra&item=Michael
WEB PAGE OUTPUT
Enter a name and press the button
Name:
Your list of names is:
Michael
Sandra
JAVA SOURCE CODE
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Servlet077 extends HttpServlet{
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException{
//An array for getting and saving the values contained
// in the hidden fields named item.
String[] items = req.getParameterValues("item");
//Get the submitted name for the current GET request
String name = req.getParameter("firstName");
//Establish the type of output
res.setContentType("text/html");
//Get an output stream
PrintWriter out = res.getWriter();
//Construct an HTML form and send it back to the client
out.println("<HTML>");
out.println("<HEAD><TITLE>Servlet07</title></head>");
out.println("<BODY>");
//Substitute the name of your server or localhost in
// place of baldwin in the following statement.
out.println("<FORM METHOD=GET ACTION="
+ "\"http://localhost:8080/myApp/servlet/Servlet077\">");
out.println("Enter a name and press the button<P>");
out.println("Name: <INPUT TYPE=TEXT NAME="
+ "\"firstName\"><P>");
out.println("<INPUT TYPE=submit VALUE="
+ "\"Submit Name\">");
out.println("<BR><BR>Your list of names is:<BR>");
if(name == null){
out.println("Empty<BR>");
}//end if
if(items != null){
for(int i = 0; i < items.length; i++){
//Display names previously saved in hidden fields
out.println(items[i] + "<BR>");
//Save the names in hidden fields on form currently
// under construction.
out.println("<INPUT TYPE = hidden NAME=item "
+ "VALUE=" + items[i] + ">");
}//end for loop
}//end if
if(name != null){
//Display name submitted with current GET request
out.println(name + "<BR>");
//Save name submitted with current GET request in a
// hidden field on the form currently under
// construction
out.println("<INPUT TYPE = hidden NAME=item "
+ "VALUE=" + name + ">");
}//end if
out.println("</body></html>");
}//end doGet()
}//end class Servlet071. Change <form name=xxx action="your_servlet" mathod="Get"> to
<form name=xxx action="your_servlet" mathod="POST">
2. Add the following lines of code to your servlet.
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
doGet(req,res);
return;
}Sudha -
List Data Type - MII 12.1
Hi,
In the list data type, I stored multiple values.
I am not able to access the individual values.
How to access the particular value of List datatype in Link editor?
with the expression editor functions, I can able to get the first and last element of list
The version is 12.1
Thanks in Advance,
Kishore kumarKishore,
you can access the values like this:
Tracer_0.Message = Local.Variablename{x}
x = the position that you will read from your List (List starting with 0).
Hope this answer your questions.
BR
Pedro Iglesias -
Specifying byte stream type for Read File with Type Descriptor
Hi.
I'm trying to write a VI that reads an image file format that can have
different datatypes. What I have so far is that I open the file, read
the header, and get the width, height, number of frames, and datatype.
I calculate number of pixels by nrows*ncols*nframes with no problem,
but I'm not sure how to tell Read File the correct datatype to read
the data into.
I tried using a Case structure where I have a Read File in each case
with the correct type constant as input for that case. The problem is
that the tunnel graduates the datatype to the highest representation.
I found in Application Note 154 the discussion about Type Descriptors.
Is there a way to generate a Type Descriptor and output it from a C
ase
structure? I tried just returning the value (e.g. 0x0402 for a Word),
but Read File will just see that the byte stream type is a uint32.
Is there any other way to do this?
Thanks for any help.I converted the code to LabVIEW 6.1 for you and attached it below.
Don't worry about being a newbie. We all start there. Keep asking this type of question and you won't stay there long.
As you are discovering, being strictly typed means that you must rewrite code even for a simple data type change, or convert everything to the same data type first. For image data, conversion can result in a lot of extra space being wasted. Use a modified version of the GLV_WaveformBuffer.vi to hold your data. Use the array functions, which operate inline, to add to and delete the data wires in the buffer. This allows you to save several different data types. You will need several different inputs and outputs to handle these data types. I ha
ve also attached a similar file created for exactly the problem you have - storing arrays of different data types (data from NI-SCOPE devices, in this case - can be float, I8, I16, or I32).
Routines that take any type work in one of two ways. LabVIEW primitives, such as plus and minus operators, work by figuring out the type and doing the right thing in the C code layer of the LabVIEW environment. Users of LabVIEW can't do this. Users can make polymorphic VIs. Polymorphic VIs are actually a single VI for every data type that are referenced by a "wrapper", the polymorphic VI. Users still need to write a different VI for every data type they need.
Take home message - if you need to work with different data types, you will need to rewrite your code for every data type or convert your data to a common data type. Polymorphic VIs and case statements are your friend.
Let me know if you need more help.
This account is no longer active. Contact ShadesOfGray for current posts and information.
Attachments:
GigaLabVIEW61.zip 362 KB
sfpScpChan_Waveform_Buffer.zip 74 KB -
Search help - from a list of user secific valu
hi
how to create a serach help for a select-options or parameters
which contains only a list of user specified values not entirely of the DDIC values
Thx for any repliesFor example ...
DATA: ltab_fields LIKE help_value OCCURS 0 WITH HEADER LINE,
BEGIN OF ltab_values OCCURS 0,
feld(40) TYPE c,
END OF ltab_values.
create F4 for Molga.
SELECT-OPTIONS : s_molga for t500l-molga.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_molga-low.
clear : ltab_fields[] ,
ltab_values[].
ltab_fields-tabname = 'T500T'.
ltab_fields-fieldname = 'MOLGA'.
ltab_fields-selectflag = 'X'.
APPEND ltab_fields.
ltab_fields-tabname = 'T500T'.
ltab_fields-fieldname = 'LTEXT'.
ltab_fields-selectflag = space.
APPEND ltab_fields.
*-- Fill values
SELECT * FROM T500T WHERE spras = sy-langu
and MOLGA in <b>r_molga.</b>
ltab_values-feld = T500T-molga.
APPEND ltab_values.
ltab_values-feld = T500T-LTEXT.
APPEND ltab_values.
ENDSELECT.
or Append the ltab_values with your own values .. first should be the value and the
second should be the text for it ...
Here I have r_molga which is a range ... and has user specified values ..
say 10 , 11 , 12 , ......... 20
CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
EXPORTING
fieldname = 'MOLGA'
tabname = 'T500T'
title_in_values_list = 'Select a value'
show_all_values_at_first_time = 'X'
IMPORTING
select_value = s_molga-low
TABLES
fields = ltab_fields
valuetab = ltab_values
EXCEPTIONS
field_not_in_ddic = 01
more_then_one_selectfield = 02
no_selectfield = 03.
Similarly for High .. just replace the LOW with High ...
Hope this helps you ... -
Type descriptor & Downcasting a refnum
Hi,
This question is a re-opining of this old thread, which ends by an non-answer ... (since the proposed solution is supposed to disapear one day)
http://forums.ni.com/t5/LabVIEW/LabVIEW-8-2-control-refnum-type-descriptor-missing/m-p/592060/highli...
So how do we actually downcast a generic refnum ( command in the following VI example ) to it's initial type ?
What I don't get is that typeDesc property node disapeared , but type descriptor still exists (and will obviously always be , see http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/type_descriptors/ )
So what ?
OpenG libraries use the type descriptor for lot of operations but for refnum, it seems to stop downcast to the generic "VI server" class.
(in case you wonder, I'm basically looking the same things the OpenG_Variant_Configuration_File library does, but instead of using cluster of data, I want to use cluster of references to data)
I suppose (and hope) there is a very simple replacement of the old deprecated property node, or solution to this problem, but I cannot find it.
Any help ?
Solved!
Go to Solution.
Attachments:
DeprecatedTypeDescriptorProperty.zip 21 KBOk, been looking for this during hours, but of course I found the obvious answer right after having asked.
Just need to "unpack" the inner type descriptor by using Value property node... Oo ...
Posting answer to my own problem just in case some else one day wonders the same.
Attachments:
TypeDescriptor by Refnum.zip 10 KB -
Type any value in a inputListOfValues
I'm using af:inputListOfValues, but i need that it allow to type any value and not validate from LOV. hot can i do???
<af:inputListOfValues id="numeroProductoId"
popupTitle="Search and Select: #{bindings.voSolicitudDetalle1.hints.NumeroProducto.label}"
value="#{row.bindings.NumeroProducto.inputValue}"
model="#{row.bindings.NumeroProducto.listOfValuesModel}"
required="#{bindings.voSolicitudDetalle1.hints.NumeroProducto.mandatory}"
columns="#{bindings.voSolicitudDetalle1.hints.NumeroProducto.displayWidth}"
shortDesc="#{bindings.voSolicitudDetalle1.hints.NumeroProducto.tooltip}"
autoSubmit="true">
<f:validator binding="#{row.bindings.NumeroProducto.validator}"/>
</af:inputListOfValues>
my jdeveloper version is 11.1.2.3Use an normal inputText then. For the lookup you can create a search on a popup and show it on click on an image.
An af:inputListOfValues only allows values from the list.
Timo -
Hi,
in my ssrs report i have two parameters, accounts and Manager ,there is a cascading between the accounts parameter and manager parameter, as per the cascading we will get managers names based on the account we selected in the accounts parameter,
my requirement is the first name in the mangers drop down list has to get selected as default value.
please help me with this, it is an urgent requirement.
Thanks in advance,
NaveenHi NaveenMSBI,
According to your description, you want to use cascading parameters in the report, if the accounts are selected when you preview the report, the first manager name will be selected from drop down list as the default value. If so, there can be two scenarios:
• If manager is single-valued parameter, we can get Available Values and Default Values from the same query as below. Then when the accounts are selected, the first manager name will be selected as default value.
SELECT managerName FROM table_name WHERE accounts IN (@accounts)
• If manager is multi-valued parameter, we need to use different query for Available Values and Default Values. In this case, please refer to Patrick’s solution.
For more information about Adding Cascading Parameters, please refer to the following document:
http://technet.microsoft.com/en-us/library/aa337498(v=sql.105).aspx
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu -
Search for documents using External Data on list content type
hi,
say we have clients in an external database, we create the external content type for use in sharepoint 2013
we create two content types, Quote and Order for use in a library
we create a document library that uses the above content types
we then add a column for the external data ( in this case Client Name- but also include ID) , we have the option to copy to content type selected. so now library shows 'Client' and 'Client:ID'
I believe that column gets added to list content types based on the 2 document content types.
so we have list items , which have a document , a content type and a piece of data from the external LOB system.
now that is fine, works great, however, how do you configure the content search web part to return documents based on the piece of external data - ie client:ID ? or Client Name ?
I can map the client:ID to one of the Int00 managed properties and crawl etc - but do not see a way to use that to return documents
any help would be appreciated :)
thanks
MrPCreate a scopr with that in managed properies and then u can get results from external sources
Maybe you are looking for
-
Hi ABAP Guru's I got a requirement to develop an report which lists the stock(Opening Stock and Closing stock) for each material of a plant in given date range. Can any one tell me exactly how can i develop this report.? I'll be very thankful if u d
-
Time Machine and External Hard Drive wireless backup over airport extreme
Ok can this be done? I have an external HD that I used a firewire to connect to my macbook pro and it backed up my movies,photo's etc without a problem. When I realized I could plug the HD into the back of the extreme I tried that and I can see the s
-
Sap r/3 rel 4.6c - F-03 Process open Items; standard output; column width
Hello All: I use SAP R/3 Release 4.6C. I am learning how to use the F-03 Clear G/L Account function. On the front page of F-03 you enter the account number and then click process open items. The output comes on the screen in the "standard" tab. In th
-
If I download the latest version from oracle of 9.0.2 ias and install it does it include the latest patches or do I still need to install patches? I'd normally look on metalink but I can not find my login right now. Kyle
-
When opening camera app freezes can't take pictures
when I open the photo booth or camera app it just freezes nothing happens I have done all the updates from apple but still is doing it any ideas ?