Update OnSelect property with excel data

Hello
I hope you can follow me.
What I am trying to do is to create a scrollable menu using a custom gallery.
I have created an excel spreadsheet table with 2 columns. Name,onselectproperty
Under name I have the name of the Menu item and under onselectproperty I have the behaviour I want for that menu item i.e. Launch("www.google.com").
I created a custom gallery and added a button to it, I then set the Text property of this to ThisItem!Name which works and updates each button with the name of the Menu Item.
However when I try to use the same logic on the onselect property using ThisItem!onselectproperty nothing happens.
If I use the same reference in a label the onselect statement appear correct.
I am not sure if this is even possible but any input would be appreciated.
Ronan

Hi,
This is not currently supported. Having said that, if you always use the Launch command, your second column could only contain the URL ("www.google.com").
Alternatively, if there is a subset of commands you use, you could codify the commands and use a If statement.
If(onselectproperty="Launch", Launch(Target), onselectproperty="Collect", Collect, ...)
Olivier

Similar Messages

  • Excel Workbook with Excel Data Model stored on SharePoint - daily refresh

    I'm not sure if this is exactly the right forum but I'm hoping that someone here can either answer or point me in the right direction.
    I have an Excel Workbook with an Excel Data Model.
    The Excel Data Model uses SQL to contact our data warehouse and pull through data into tables.
    We are storing the Workbook on a SharePoint site and viewing it using Excel Services.
    The data in our data warehouse is updated daily and so I would like to refresh the workbook daily and remove the option to refresh the data in the browser.
    Is this possible with a workbook that has an Excel Data Model (I've seen lots of posts that relate to workbooks with connections to tabular models).
    Thanks
    Paul

    Hi Paul,
    I have answered this issue in this thread that you posted in SQL Server PowerPivot for SharePoint forum, please see:
    http://social.msdn.microsoft.com/Forums/en-US/9627939c-e9f1-48ae-a6ed-0c238d8f2d69/excel-workbook-with-excel-data-model-stored-on-sharepoint-daily-refresh?forum=sqlkjpowerpointforsharepoint
    Furthermore, this issue is more related to PowerPivot for SharePoint. If you have any more questions about PowerPivot for SharePoint, I would sugget you open a new thread in the forum below for better support:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlkjpowerpointforsharepoint
    Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • Problem with updating oracle DB with java date thru resultset.updateDate()

    URGENT Please
    I am facing problem in updating oracle database with java date through resultset.updateDate() method. Can anybody help me please
    following code is saving wrong date value (dec 4, 2006 instead of java date jul 4, 2007) in database:
    ResultSet rs = stmt.executeQuery("SELECT myDate FROM myTable");
    rs.first();
    SimpleDateFormat sqlFormat = new SimpleDateFormat("yyyy-mm-dd");
    java.util.Date myDate = new Date();
    rs.updateDate("myDate", java.sql.Date.valueOf(sqlFormat.format(myDate)));
    rs.updateRow();

    I believe you should use yyyy-MM-dd instead of yyyy-mm-dd. I think MM stands for month while mm stands for minute as per
    http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    (If this works, after spending so much of your time trying to solve it, don't hit yourself in the head too hard. I find running out of the room laughing hysterically feels better).
    Here is a more standard(?) way of updating:
    String sqlStatement=
    "update myTable set myDate=? where personID=?"
    PreparedStatement p1= connection.prepareStatement(sqlStatement);
    p1.setDate(1,new java.sqlDate());
    p1.setInt(2, personID);
    p1.executeUpdate();

  • Update new field with existing data programmatically

    I have a requirement to write a code that update an existing lookup field.
    We are running sharepoint 2010. We have a content type, which is used throughout all the sites. The content type has a field called Product, which is a lookup field for all the products we have. The field also contains subproducts. For example, a product
    by name PR1000 has a subproduct PR1010 all in the same drop down menu.
    Now we want to change this grouping and separate them based on product and subproduct. I have created new field called Parent Product (PP) and Child Product(CP).
    I would like to programmatically update the Parent Product field with Product and Child PRoduct field with child product if any. So here is how it works; if an existing item or document has product PR1010, I would to update PP with PR1000 and CP with 1010.
    The problem I am having in order to start this project is the product field is part of every document library and lists and there are 1000s of items with data for product.
    Please help with ideas or suggestions. I am thinking of a feature event receiver, which when activated will automatically update every item with product field not empty.
    Thanks for your help in advance.

    As Bruno suggested ,if its on time activity and on the all site then so go with Powershell 
    script. use feature event receiver when it require on the selected site and if this require to extend
    other sites so that contol will be at your end,else you need to again modified the powershell script.
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • Issue with Excel data-chains via SharePoint

    I'm having issues with a coulpe of Excel (2010) data-chains through SharePoint at my work. When i set up a chain it shows for instance [Sheet2.xlsx] and fetches data just fine. But when I close and re-open the sheets, the chain code is changed to the
    entire http-adress, such as "http://company.com/controlling/[Sheet2.xlsx], and gives a VALUE-error instead of fetching the data.
    Is my problem connected to Excel or Sharepoint? And what can i do to make the chains work?
    Thanks in advance, and please excuse if some of the mentioned terms are inaccurate. I use Excel in my native language (danish), but the Danish community in here is not very large :)

    Hi,
    Are you using some formula(Such as Vlookup) to link the Excel date which shored in the SharePoint?
    If it is, we may try to use the full URL in the formula. Here are some samples, we may refer to:
    http://social.msdn.microsoft.com/Forums/office/en-US/f94d25b6-749c-470c-837d-32bcf570bfd3/vlookup-to-look-at-a-excel-document-stored-on-sharepoint?forum=exceldev
    http://social.msdn.microsoft.com/Forums/office/en-US/1b946199-7c65-45d1-ae1a-a845aa03d463/vlookup-issue-to-a-sharepointstored-file?forum=exceldev
    Regards,
    George Zhao
    TechNet Community Support

  • Personalization: Property with type="Date" doesnt work

    Hi,
    I am trying to personalize a property whose type is Date.
    <property name="DoB" value="19820117">
                <property name="Personalization" value="dialog"/>
                <property name="type" value="date"/>
    </property>
    Though i get the calendar icon and am able to <b>personalize</b> the property, the value doesn't reflect when i try to write it using response.write(). Its always "19820117".
    What could be the issue? I have another property with type=String and it works as expected.
    Thanks,
    Shruti

    Hi
    did u import util.date() in the component.
    did u write correct functionality in development for date.
    send test mail i will send one word doc related to this
    Regards
    Sunil
    [email protected]

  • AppleScript for mail merge with Excel data?

    Is there any approach for an AppleScript that lets you use Excel data as source for some kind of mail merge operations? If not, would anyone here be interested if someone (I?) would take a closer look at some kind of a (AppleScript Studio) solution for this?

    I'm not sure I get the question.
    If it is "could you use AppleScript to create mail merge for Pages with Excel?", the answer is, Yes. Both Pages and Excel are scriptable.
    If the question is "has anyone done it yet?", I don't know, but it could be a fun exercise.
    If the question is "would there be a market, if someone (you?) wrote and released such a script?", I cannot tell, but personally I would probably write a hack that worked only for my own needs - if I had them. The overhead with usability, testing, different address formats, languages, different Excel sheet formats, and so on, makes me guess that the investment wouldn't pay off for a generic solution. Especially considering both Pages and MS Office already have their own mail merge functions.

  • Error with excel data mining and windows 8.1

    Hi I found this thread online which is exactly the same issue I am having. Has this problem been resolved?
    "I installed SQL Server 2012 SP1 Data Mining add-in for Excel 2013 64 bit on Windows 8.1 64 bit Enterprise. I then ran "Getting Started" to complete the add-in setup and connect to the SSAS DB. After I opened the "Sample
    Excel Data" file to test I noticed the "Table Analysis" tab under "TABLE TOOLS" appeared on the ribbon blank (without the text "ANALYZE" on the tab). When I clicked on that tab I was able to see the "Table Analysis Tools"
    buttons but I keep getting the "Object reference not set to an instance of an object" error message when I try to run any one of them and exiting out of Excel disables the data mining add-in. Is this a known issue and if yes is there a
    hotfix available? Thank you."
    I've also download the follwing hotfix which hasn't helped
    http://hotfixv4.microsoft.com/SQL%20Server%202012/sp1/SQLServer2012_SP1_CU7_2894115_11_0_3393_/11.0.3393.0/free/470544_intl_x64_zip.exe 
    Any assistance would be appreciated!
    Concatch

    Hi Concatch,
    Which edition of Excel 2013 are you using? The supported editions of Office supported by the SQL Server 2012 SP1 Data Mining Add-ins for Microsoft Office are as follows:
    Professional
    Professional Plus
    Ultimate
    Enterprise
    Besides, make sure the cube is hosted in a SSAS 2012 instance.
    Regards,
    Mike Yin
    TechNet Community Support

  • Does Data Integrator work fine with excel data sources?

    Post Author: sasidhar
    CA Forum: Data Integration
    Hi,
           We are pulling 10 different excel data sheets into a Oracle database, is anybody aware of any issues migrating that data using BODI?
    Thanks,
    Sasi.

    Post Author: msavage
    CA Forum: Data Integration
    No it works great.  It used to be kind of crappy because you had to go through an ODBC connection to do it.  However in the last major version upgrade XIR2 they added it as an actual object in the Formats tab next to the Data Sources tab.  This makes it a lot easier as you can just drag the object into your data flow, enter in the appropriate information and you are good to go.

  • Function Module to Update Shipment Document with FURTHER DATES

    Hi All,
    i need to update (create an event entry) with the 'Begin Plan Date' and 'End Plan Date' of one Event in the 'FURTHER DATES' TAB
    (2nd Tab) of the Shipment Document. I got to do this using the separate program after the shipment gets created from external system in ECC.
    Any ideas on how to do it? the function modules belong to the function group
    TSEG.. but am not sure which function module can cater my requirement..  or can we do it with a BDC call.
    Appreciate ur early reply...
    Regards,
    Leona

    hi,
    YOu can use fm 'HR_99S_date_plus_time_unit'.
    hope it helps
    regards,
    pawan

  • Update essbase variables with OS date

    Hi All,
    Is there a way to update my substitution variables according to the Operating System date? I am trying to avoid some manual process involved in maintaining the application. I am looking for any solutions out of Hyperion.
    Any help is appriciated.
    Thanks,
    KK

    There isn't a way to do this within Hyperion, but it is simple enough to write an external process (korn or bash for Unix, bat or vba for windows) to read the system date, then appropirately set a subvar with a maxl shell call.
    Robert

  • Update text fields with xml data based on DDL selection of an ID number

    Hi guys,
    this one should be straight forward, but I cant seem to find a straight forward answer.  In a nutshell:
    XML file contains ID, Name, Location (so far 3 records in sample xml file)
    Form contains a Dynamic Drop down list to allow selection of ID and text fields to display the associated name and location of that ID.  The binding of the Drop down works fine, however I need the other fields to update to the associated name and location when different ID's are selected.  I assume I'll need some sort of exit event on the drop down list to update the other fields with the Name and location of the ID selected, but I dont know enough to have a stab at it.
    please, please, please help, Im starting to pull my hair out.
    James.

    Hi James,
    This would depend on the structure of your XML but assuming you have something like;
    <Data>
                <Item>
                            <Id>1</Id>
                            <Name>Name1</Name>
                            <Location>Location1</Location>
                </Item>
                <Item>
                            <Id>2</Id>
                            <Name>Name2</Name>
                            <Location>Location2</Location>
                </Item>
                <Item>
                            <Id>3</Id>
                            <Name>Name3</Name>
                            <Location>Location3</Location>
                </Item>
    </Data>
    Then in the change event of your dropdown (your could use the exit event but then value might not have changed so would be performing unnecessary processing) add the following code.
    var itemGroup = $data.Data.resolveNode("Item.(Id.value === '"+xfa.event.change+"')");
    Name.rawValue = itemGroup.Name.value;
    Location.rawValue = itemGroup.Location.value;
    The xfa.event.change will be the value selected, the resolveNode will return the Item with the matching Id, and then it is just a matter of assigning it to your form fields.
    Hope this gets you started.
    Regards
    Bruce

  • Update Info record with PO data

    Hi,
    I have the material configured no purchase order unit of measure and Variable Purchase Order Unit Active with the value 1.
    When I create the first PO a Info record is created and in the general data the purchase order unit is set with one used on that PO.
    When I create a new PO the purchase order unit from the info record is copied to the PO. If I change that unit on the creation of the PO I would like to have it changed in the Info record but this is not the behavior. That field remains unchanged unless I change it manually in the Info record.
    Is there any standard way to make it updated with the creation of PO's?
    Thanks,
    Nelson Ribeiro.

    Hi,
    You can find control of info-update indicator  in following path, where it update automatically.You can set for own  data by assigning EVO with 01{Goto from menu bar---system-> user profile-->own data>Goto parameters---> enter parameter id as EVO parameter value as 01}
    SPRO> MM> Purchasing-> Environment  -> Define default values for buyers-->Settings for Default Values
    You can view Entries
    01     Default values for group 1
    02     Default values for group 2
    Regards,
    Biju K

  • Updating a JPanel with new data, using CardLayout

    Hi,
    I'm using a CardLayout to change between JPanels.
    I have 2 JPanels: panel1, panel2; 2 JButtons: backButton, nextButton;
    I also have 1 JTable - table1 - which get it's info from a database.
    I add nextButton and table1 to panel1, and add backButton to panel2.
    I add panel1 and panel2 to the CardLayout, and of course I add the Cardlayout to the JFrame and so on.
    When I start the application I get the panel1 with a table filled up from the DB. I then press the nextButton and get the panel2 visible.
    Problem:
    My problem now is how to do when I press the backButton so that the application checks the DB and updates the table1.
    I make a ActionListener to the backButton, which makes the panel1 visible again, but it does not update the table1 from the DB.
    How do I do that??
    Thx. for all answers!!
    /bogger

    of course it will be the same - you must call the database again.
    if you just copy and paste the code, that fills your database with data where you make the panel visible again, it'll work
    (of course it will be better to create a method to update the table, not just paste the code)

  • Case Statement with excel data source

    When trying to create a case statement in the RPD I get the following error in answers when selecting from the column.
    Listed is the RPD column select statement CASE EMPHOURS.EMPHOURS_DIM.PAYCODE WHEN 'OT' THEN 'Overtime' END
    Listed is the error I receive in answers:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: 37000 code: -3100 message: [Microsoft][ODBC Excel Driver] Syntax error (missing operator) in query expression 'case T24.[PAYCODE] when 'OT' then 'Overtime' end'.. [nQSError: 16014] SQL statement preparation failed. (HY000)
    The statement works fine when I use oracle RDBMS as the data source and not excel.
    Regards

    Hi Sophia,
    Could you please edit Database>Features in this there will be a feature "CASE_IF_SUPPORTED" and another CASE related feature which you need to change and check in this features.
    Regards,
    Som

Maybe you are looking for

  • Device not recognized in itunes

    After latest update my idevices are not being recognized by itunes. I have reset both devices and my mac mini I have used an apple cable to sync and approved both devices then they just dont show up but bpth show a charge. I have an ipad mini and an

  • AD FS 3.0 Migration Error

    Hi I am busy migrating AD FS from 2008 server to 2012 server. When I am at the final stages of the installation, I get this error Cannot start service MSSQL$MICROSOFT##WID. I have tried what was recommended with MS online but still no luck. The accou

  • Reason profile field disabled

    Hi, Whenever I create a lead transaction,irrespective of the status I see the reason field in disable mode? What is the reason for this? Regards Jaya

  • How to convert minutes to decimal

    I need to convert my minutes in my HH:MM record to decimal. For example if I have 43 hours and 15 minutes (43:15) I need to return the result 43.25 hours and if i have 10 hours and 30 minutes I need to return 10.50 hours. How do I do this?

  • NW70 EHP1 Update Problem w/SPAM/SAINT

    Hello, We have followed the guide for NW 7.0 EHP to update our system from NW 7.0 SPS18.  The kernel update appears to be successful, and system -> status tells us that we are on the 701 kernel. However, we are having trouble in SPAM/SAINT.  We've do