Building expressions in MDM

Hi There,
I'm currently building a restricted catalogue for one of our connected users to view a defined subset of the items in MDM through our web connection. the restriction is done through creating MDM users and then applying a named search to that user. We are trying to restrict the view based on our taxonomy structure and to hide certain taxonomy branches from that user's view. To do this, i'm currently trying to build an expression that's looking like the following...
Field_ID <> 1234 AND
Field_ID <> 1235 AND
Field_ID <> 2345 AND... etc for about 150 branches of the structure we wish to hide.. .
This has caused two issues for me:
1) The time it takes to run this expression is prohibitive and therefore cannot be used as a named search (my preferred method)
2) The coding of this expression is 'less than elegant'..
can someone please suggest a better way to do this? Is there a where not in (value1, value2, value3...) type expression that i can use in MDM??
Regards,
Adam Sellers

Hi Adam,
can someone please suggest a better way to do this?
I would suggest please select the Taxonomy branches which you want to display to User. That means you don't need to select the branches which you want to hide.
For example: you have total 10 Taxonomy branches and as per requirement you want to hide 6 Taxonomy branches, So here you need to display 10-6= 4 Taxonomy Branches to User.
Procedure:
Create a Mask say Selected Taxonomy Branch To User's  in Masks Table of MDM Data Manager. In Main table of Data Manager, select First Taxonomy Branch in Drop down Search (Taxonomy) under Search Parameters. Once you select 1st Taxonomy branch in Taxonomy Drill down search, it will display all the records associated with this Taxonomy Branch in Records pane. Select all the records in Records Pane using Ctrl + A and then right click> Add to Mask>Selected Taxonomy Branch To User's
After this reset Search and then again select another 2nd taxonomy branch which will display its associated records in Records Pane which you again include into Mask Selected Taxonomy Branch To User's. Similarly you have to do for the remaining Taxonomy Branches which you want to display to User. As per Example here you need do to this thing 4 times.
Now your Mask Selected Taxonomy Branch To User's contains only those records (defined subset of items) associated with taxonomy branches which you want to display to User. Now, apply this Mask to that users.
Regards,
Mandeep Saini

Similar Messages

  • Help with conditional build expressions

    I'm using RoboHelp HTML and creating WebHelp Pro layouts. I
    want to create five (or more) different versions of the Help tool
    for our various groups of users.
    Here's what I'd like to do: Create a conditional build tag
    for each of the versions (i.e. each of our groups of users). I
    could name them as follows:
    group1
    group2
    group3
    group4
    group5
    Then, I would associate each topic with one or more of the
    build tags. For example, topic1 may be for group1 and group2;
    topic2 may be for group1 and group4. Etc.
    The problem is thus: When I want to create the version for,
    say, group1, my expression ends up excluding the other groups. In
    the end, this omits any topics associated with group1 that are also
    associated with the other build tags (i.e. the other groups).
    Is there an expression I can use to prevent these topics from
    being omitted? Perhaps the use of parentheses?
    The only solution I've used is tedious: I create many build
    tags--one for each variation. For example, I'd have a
    group1group2group3 build tag, a group1group3 build tag, a
    group1group4 build tag, etc. Then, I just associate one build tag
    with each topic. When I'm creating a version for group1, for
    example, I'd just include all topics with a build tag that includes
    group1 (e.g. group1, group1group3, group1group2group3, et. al.). I
    omit the others (e.g. group2group3, group2group4,
    group2group3group4group5...et. al.).
    As you can imagine, this solution is problematic. First, I
    have to create and keep track of many many build tags. Then, if I
    want to create another version of Help, I need to change all the
    build tags to include this new group.
    I'm sure there must be a better build tag expression for what
    I'm trying to accomplish. Please help! Thanks!

    There is indeed an expression! Unfortunately, the option is
    normally hidden, so it can be tricky to find. Here's what you do:
    1. Define the build tags.
    2. Apply them to your topics. OVERLAPPING IS ENCOURAGED! That
    is to say, you can assign tag1, tag2, and tag3 to a single topic.
    3. Right-click the desired layout and select Properties.
    4. Click the Define button to the right of the Conditional
    Build Tag drop-down menu. The Define Conditional Build Tag
    Expression dialog will appear.
    5. Click the Advanced button. The Advanced area will appear
    at the bottom of the dialog.
    6. Select a tag from the Available Conditional Build Tags
    drop-down menu.
    7. Click the Add Tag button. The selected tag will appear in
    the Conditional Build Tag Expression display window.
    8. Click the AND button.
    9. Select another tag from the drop-down menu.
    10. Click the Add Tag button.
    11. Repeat steps 8-10 for each tag you wish to add to the
    expression.
    12. Click the OK button to close the dialog.
    13. Click the Save button to save your layout with the new
    build expression.
    That's it! The trick is to use the ADVANCED button in the
    Define Conditional Build Tag Expression dialog. Doing so allows you
    to build inclusional expressions rather than exclusional
    expressions, so you can avoid the hassle you described in your
    post. Using this method, I defined two build tags (A and B) and
    applied them to three topics as follows:
    * Topic 1: Tag A
    * Topic 2: Tag B
    * Topic 3: Tags A and B
    I then defined an expression that simply included tag A. When
    I compiled my help, topics 1 and 3 appeared in the output, but
    topic 2 did not.

  • How can I delete Conditional Build Expressions in RH7?

    I have a project with some Conditional Build Expression artifacts that I simply cannot get rid of.
    For example, I have created two Conditional Build Expressions:
    Internal OR Foo1
    Foo1 OR Foo2
    It has been determined that the second expression is the one we want.  But, the first one still shows up as an option in the SSL.  Furthermore, when I view a page, the first expression clutters up my list of possible Conditional Build Expressions.
    How can I lose a Conditional Build Expression?  I have quite a few possible arrangements, and I don't want to confuse other authors by having too many choices (especially with similar names).
    Kevin

    Hi Kevin.
    I think you have to do this by manually editing the project's .pss file (projectname.pss). If you take a backup of this file and open it in Notepad you'll find a [Global Build Tag Expressions] section and hopefully in there will be your "Internal OR Foo1" expression preceded with a date/time stamp. If you remove this line it should no longer appear in your project.
    Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.
    Follow the RoboColum(n) on Twitter

  • Build Skills Around MDM

    Hi,
    I am an SAP HR Consultant. And have been tracking developments around MDM.
    I find MDM very interesting and challenging and would like to develop skills in MDM and position myself as MDM Consultant over the next 6-12 months time.
    Could any one suggest, on how should I plan for learning path. Do I start with getting more information on different Data Masters in SAP first, OR develop skill on any Technical components, programming? OR anything else.
    Would appreciate if any one can guide me, on how I can plan to build skills around MDM and slowly move to SAP MDM.
    Thank You,

    Hi Parkash,
    In that HR is a bit different than many of the other modules in SAP, and MDM is still in rampup, I would recommend you take the time to learn more about the various Master Data pieces in SAP.  Namely Material Master and Business Partners (ie. Vendor Master and Customer Master). 
    You will be more comfortable with these record sets when the time comes to begin learning the MDM functionality.

  • Deleting conditional build expressions

    I have created a project in RH7 and it has expanded to become
    our company's single source for user documentation. This is a good
    thing. However, as I've added information for different audiences,
    I've ended up with a number of conditional build expressions that I
    no longer need. I'd like to delete them so I don't have to search
    through a long list on the WebHelp General screen.
    I've searched the forum and don't see any information about
    deleting conditional build expressions (tags, yes; expressions,
    no). Can anyone tell me how to do this?
    Thanks for your help!

    Dear Mr. Grange,
    Forgive me for resurrecting such an old post. In your reply you state: "any layout that contains the build expression). By 'layout' do you mean the topics?
    Thank you in advance for your assistance.

  • Can't Define Conditional Build Expression

    HI -
    I want to define a couple different Conditional Build
    Expressions to generate print and .chm output, but the Define
    button is dimmed. This feature was working for me a couple days
    ago, but now not.
    In my project I have used the conditional build tags for
    Printed, and in each of the topics where I used it, the red hash
    marks show in the topic - but when I open the conditional build
    tags pod, there is nothing there. Wierd.
    Hmm.. and now RH crashed for the 2nd time in 2 days -
    ugh......
    Any suggestions?
    thanks, Leisa

    Hi Leisa.
    Is this the same project with which you were having problems
    with yesterday? If so, try recreating the build tags exactly as
    they were (e.g. case sensitive) and you will be OK.

  • TestStand Building Express VI menu error 42

    Trying to refresh/build express VI menu in TestStand 31 using LabVIEW 7.1.1f2. Get error code 42 (generic error). Any suggestions?
    Have tried to delete "ExpressMenu7.1.1" in ..\TestStand 3.1\Cfg - same error

    Hi
    I've found a solution: Only if default menu is selected in LabVIEW, TS is capable to update the express menu.
    Best regards
    Vagn
    Attachments:
    TestStandBuildingExpressVImenuError.JPG ‏124 KB

  • Query Builder (Express Edition 10g) is not working in Google Chrome

    Google Chrome is not properly displaying table in SQL Query Builder (Oracle Database Express 10g).
    It is not possible to select all fields of given table because not all fields are displayed and I can't go down to select last field.
    In Mozilla Firefox this is possible. In Google Chrome table bar is not displayed.

    pilczew wrote:
    In Mozilla Firefox this is possible. In Google Chrome table bar is not displayed.Which is APEX version?
    Upgrade to APEX 4.0 - it should work then properly also in Google Chrome.

  • How to use toplink "build expression"  with soundex function

    We are using toplink experssion builder to build the query. can any one help me on build a query with soundex using toplink..
    for example :
    SELECT last_name, first_name
    FROM hr.employees
    WHERE SOUNDEX(last_name)
    = SOUNDEX('SMYTHE');

    TopLink's ExpressionOperator does have an operator defined for soundex. I have an example that uses it that I customized to match you case.
    I would recommend defining these queries as named queries using an after-load method:
        public static void afterLoadEmployee(ClassDescriptor descriptor) {
            ReadAllQuery raq = new ReadAllQuery(Employee.class);
            ExpressionBuilder eb = raq.getExpressionBuilder();
            Expression fnExp =
                ExpressionOperator.soundex().expressionFor(eb.get("lastName"));
            Expression valExp =
                ExpressionOperator.soundex().expressionFor(eb.getParameter("L_NAME"));
            raq.setSelectionCriteria(fnExp.equal(valExp));
            raq.addArgument("L_NAME", String.class);
            descriptor.getDescriptorQueryManager().addQuery("Employee.findBySoundexLastName",
                                                            raq);
        }Now you can execute the query anywhere in your application using:
            List<Employee> emps =
                (List<Employee>)session.executeQuery("Employee.findBySoundexLastName",
                                                     Employee.class, "SMYTHE");The SQL generated is a little different due to the multiple tables used in the employee example model but here is what I got:
    SELECT t0.EMP_ID, t1.EMP_ID, t0.F_NAME, t1.SALARY, t0.L_NAME, t0.GENDER, t0.VERSION, t0.ADDR_ID,
    t0.MANAGER_ID, t0.END_DATE, t0.START_DATE FROM EMPLOYEE t0, SALARY t1
    WHERE ((SOUNDEX(t0.L_NAME) = SOUNDEX('SMYTHE')) AND (t1.EMP_ID = t0.EMP_ID))Doug

  • Building Expressions with Repeated Cell References

    I have noticed a difficulty with building an expression using the 'Point and Click' method of inserting Cell References in Numbers 09.
    The first time a particular cell is clicked, its reference is inserted properly in the expression at the cursor. If another reference to the same cell is required in that expression, clicking on the cell again does not result in another reference to it at the cursor, instead the cursor jumps to the previous reference to that cell.
    The two options for adding a second or third reference to a particular cell are to type the reference or to keyboard-navigate to the cell with the Option key.
    Am I missing something?
    Jerry

    Jerrold Green1 wrote:
    Yvan,
    A solution looking for a problem in my case! I like the drop-down menu for reference type,
    I like the drop down menu too but I don't understand why the ƒx button appears only when I type = in a cell.
    I always send the mouse to the format bar before typing = (as I did in AppleWorks and Numbers '08).
    I may understand why they moved the Cancel and Accept buttons to spare some pixels for the formula but from my point of view, moving this ƒx button is boring
    But maybe I'm the unique user with this epidermic reaction.
    Yvan KOENIG (from FRANCE jeudi 19 février 2009 18:28:03)

  • Second max/min in ssrs report builder expression

    I need to do conditional formatting on second max/min in an ssrs report builder table.
    Can i get it in an expression ?

    Hi AshishSinghal84,
    Based on my understanding, you want to perform conditional formatting on the second maximum or minimum value in Report Builder.
    In Reporting Services, there is no built-in function which can return second maximum value. So in this scenario, we can’t directly use expression to perform conditional formatting. However, we can get the second maximum or minimum on query level. Then insert
    a column into tablix and use Lookup function to return a specific value so that we can do the conditional formatting based on this value. As we test in our local environment, to perform conditional formatting such as change the color for second maximum value
    in Report Builder, we can follow the steps below:
    1.Add Dataset2, apply the query below:
    select max(sales)
    From test
    where sales < (select max(sales)
    from test)
    2.On report, add an Expression “=lookup(Fields!sales.Value,Fields!secondmax.Value,1,"DataSet2")”, looks like below:
    3.Click [month], Properties appears on the right panel. Find Color under Font tab, click Expression, then type “=IIF(ReportItems!Textbox6.Value=1,"red","black")”.
    4.Right click the third column, choose Column Visibility\Hide, click Ok.
    5.Final result looks like below:
    To perform conditional formatting on second minimum value, the steps are a little different from getting second maximum value. You should change the query at first step, then apply the query below:
    select min(sales)
    From test
    where sales > (select min(sales)
    from test)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Building expression for complex key

    Hi
    I have an object with a complex key. I'm trying to create an expression that will generate a select to retrieve a list of objects by the complex primary key.
    The select should look like :
    select *
    from <table_name>
    where (<col1>,<col2>) in ( (val1,val2) , (val1, val3) )
    The problem is i cannot find a way to create the expression (<col1>,<col2>).
    Can anyone give me an example on how this can be done ?
    Thanks
    Inbal

    TopLink expressions do not currently support the IN((..), (..)), or nested array IN SQL. You will either need to generate your own custom SQL for this. Or build the expression dynamically using AND and OR instead of an IN.
    i.e.
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression inPrimaryKeys = null;
    Iterator iterator = primaryKeys.iterator();
    while (iterator.hasNext()) {
    List primaryKey = (List) iterator.next();
    inPrimaryKeys = builder.get("id1").equal(primaryKey.get(0)).
    and(builder.get("id2").equal(primaryKey.get(1))).
    or(inPrimaryKeys);

  • Tranforming a Preference in Expression builder expression

    Hi there.
    I have a BPEL processo Preferecence populated with something like: concat('this is a test: ', bpws:getVariableData('inputVariable','payload','/client:TesteDescriptoresProcessRequest/client:input'))
    And when I do the ora:getPreference('TestPreference') I get a string with the expression that I whant to run/execute and assign to a variable.
    <result>
    concat('this is a test: ', bpws:getVariableData('inputVariable','payload','/client:TesteDescriptoresProcessRequest/client:input'))
    </result>
    But I want the result to be:
    *<result>*
    this is a test: 123
    *</result>*
    Someone knows how to tranform a string set in Prefereces to expression where i can use BPEL Expressions to assing values of variables ???
    I already tryed to do ora:ParseEscapedXML(ora:getPreference('TestPreference')) but isn't working.
    Thank you in advance.

    I'm still having that problem.
    Someone can help me ?

  • Report Builder Expression Criteria

    I have a dataset ("VoiceSeatInstalls") with a column name of "SUBSERVICETYPE_GROUP" which outputs a value of SEAT, LINE, or TRUNK. In addition to this field, we have totals grouped by month (M4, M3, M2, etc.). I have a line item in my
    report that I've titled "Lines Installed." I want this line to populate only when the "SUBSERVICETYPE_GROUP" = LINE. From there, it should only return the M4, M3, M2, M1 totals for LINEs.
    Here is the closest logical expression I could come up with:
    =IIF(Fields!SUBSERVICETYPE_GROUP.Value = "LINE",Sum(Fields!M4.Value, "VoiceSeatInstalls"),0)
    Unfortunately, I get the following error:
    "The Value expression for the text box ‘Textbox70’ refers to the field ‘SUBSERVICETYPE_GROUP’.  Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters
    in the names of fields must use the correct case.
    How do I get this row of data to only provide me the monthly sum when the subservicetype_group = LINE?

    Hi Pamela,
    According to your description, you have issue on calculate the total for "LINE". Right?
    Based on your description, we are not clear you want to show the total LINE for each month or just want to get one total for all months. It seems the M4 in your expression is the amount for LINE/SEAT/TRUNK. In this scenario, it's the issue of the scope.
    Please check your report design. If you want to show the total LINE for each month, you should add a row inside of the group. If you want to get the total LINE of all months, you need to add the row outside of group. For both scenarios, you don't have to specify
    a scope for the sum function, it will use the current scope. You can try the expression:
    =Sum(IIF(Fields!SubServicesType.Value="LINE",Fields!Amount.Value,0))
    We have tested this scenario with sample data in our local environment. Here are screenshots for your reference:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How do I generate output with a certain conditional build expression?

    Hi,
    I am learning how to use conditional tags in RoboHelp 9.  I see how to create and apply the tags.  How do I apply the conditions in the output?  And can I apply the conditions to the Web output  and printed output?
    I am going to be working on a project with variations to suit each customer, so I am wondering if RH 9 is a good tool to use for this.  (I have access to XMetaL 5 also.)
    Thanks,
    Erin

    You pick them in your Single Source Layout recipe

Maybe you are looking for

  • Clear Signature Functonality

    Hi  experts, About the adobe signature functionality. Whenever I signed the PDF file all fields will be in read only. Now the problem is, when I send the PDF file to another user, the recipient can easily clear my signature, thus the recipient can mo

  • Can't Open WMV - linked files in Safari

    I have a problem opening wmv content on webpages. I have windows media player installed on my Mac, however, when I go to a page with WMV content, it either a: does not open at all or b: crashes Safari. I haven't installed flip4mac or any other 3rd pa

  • IPod starts songs part way thru, not at the beginning

    When I'm playing songs in a playlist My iPod (30 gig 5th Gen) doesn't start the next track at the beginning. It starts playing at some random point in the tune, it could be 12 seconds in, could be a minute, could be 2. I wiped and restored it thinkin

  • Why is my max slow

    i got my macbook pro retina display 3 days ago and only used it for arund 10 hours. i just got back on it after going to jasper for a coupke days and start a vid on youtube. it starts in 240p and takes forever to load on 720p?

  • IPhone 5s Unable to complete Touch ID setup. Please go back and try again.

    Hi, I have an iPhone 5s and I recently updated to iOS 8. When I was using iOS 7.1.2 the touch ID option was gone. The only option that I have there is passcode it seems like Im only using an iPhone 5 because of that. Anyhow, I updated it to iOS 8 las