Specifying items inside a tab view

Someone please help, I can't figure this out:
I'm building an app with Applescript Studio starting with the Table sample project. I had everything working until I messed with the interface moving things into tabs; now I don't know how to change the following line:
set contactsDataSource to data source of table view "contacts" of scroll view "contacts" of theObject
that's the original line that broke when I moved table into a tab (called "orders"). How do I change that line now that the table is inside a tab? I tried something like this:
set contactsDataSource to data source of table view "contacts" of scroll view "orders" of view of tab view "orders" of theObject
and variations of that, but no matter what I do, I can't seem to call it correctly. Any suggestions would be appreciated!

I'm assuming that "theObject" is the window for the "will open" handler of the with.applescript.
It may be easier to see the hierarchical structure of your user interface objects by switching the Instances tab of your nib file from icon view to outline view. To do so, click the icon for list view in the top of the right-hand scroll bar (it's the lower icon; the top is for icon view). Then disclose the various triangles for your objects.
You almost have the right sequence. A tab view (NSTabView) consists of a series of tab view items (NSTabViewItem), one for each of the different tabs in the view. So, make sure your tab view item has an AppleScript name "tabViewItem" and then it should look like this:
set contactDataSource to data source of table view "contacts" of scroll view "orders" of tab view item "tabViewItem" of tab view "orders" of theObject
Hope this helps....
Dual 2.7GHz PowerPC G5 w/ 2.5 GB RAM; 17" MacBook Pro w/ 2 GB RAM -   Mac OS X (10.4.8)  

Similar Messages

  • Create a tab view item in obj-c for use in applescript studio

    I'm making an application with applescript studio. I want to be able to add tab view items to a tab view at the press of a button. The problem I have is applescript studio doesn't allow me to create a new tab view item. So I'm thinking I can create the tab view item using objective-c, pass that to my applescript, then add it to my tab view.
    In applescript I plan to use the following call methods to first create the tab view item object, and then add it to my tab view. The objective-c code which is called from the first line in the applescript code is below that. When I run my code I'm getting an error saying newTVI is not defined... so maybe you can see my error! Be kind to me because I'm new to objective-c and I'm sure that's where my problem lies. Anyway, I'd appreciate any help.
    ==Applescript calls to create and add a new tab view item
    set newTVI to call method "returnNewTabViewItem" of class "makeNewTabViewItem"
    call method "addTabViewItem:" of objMainTV with parameter newTVI
    ==Objective-c code to create the tab view item
    ==makeNewTabViewItem.h==
    #import <Cocoa/Cocoa.h>
    @interface makeNewTabViewItem : NSTabViewItem
    NSTabViewItem *newTVI;
    -(NSTabViewItem *)returnNewTabViewItem;
    @end
    == makeNewTabViewItem.m==
    #import "makeNewTabViewItem.h"
    @implementation makeNewTabViewItem
    -(NSTabViewItem *)returnNewTabViewItem
    newTVI = [[[NSTabViewItem alloc] initWithIdentifier:nil] autorelease];
    return newTVI;
    @end

    Please, any ideas?

  • BUG: Sorting drop-down lists from the field tab when using "specify item values"

    Hi all,
    I've finished creating my form now, but I came across this whilst writing up my documentation for maintenance tasks.
    This occurs when adding new values to a drop-down list that has the "Specify item values" checkbox in the binding tab checked.
    When I then try to sort my list using the built in sort buttons, it will sort the items, but the list of specified values in the binding tab does not sort reorder to stay with the original items in the list.  This is hapenning when I sort from the Object > Field tab.  If I sort in the Object > Binding tab then the sort will include the specified values.
    For example:
    A    5
    C    2
    D    9
    Add a new value to get:
    A    5
    C    2
    D    9
    B    10
    Sort the list using the button:
    A    5
    B    2
    C    9
    D    10
    But it should be:
    A     5
    B     10
    C     2
    D     9

    I was able to duplicate this problem and it looks like a possible bug.  I've submitted it to support.

  • Controls in ITEM and LIST tabs of Ribbon disabled always in Punishing SharePoint 2013 site if i add list to home page as List View Webpart

    Hi,
    Below is the scenario,
    If i created any custom list and navigating to the list (AllItems.aspx) and on selecting the item, i can see controls in ITEM and LIST tabs of Ribbon are enabled in SharePoint 2013 publishing site.
    If i add the same list in the home page (add web part --> select list view webpart) in the publishing site, on selecting of item, all controls in ITEM and LIST tabs of Ribbon are disabled always.
    Please help me to fix this issue ASAP.
    Regards,
    Krishna

    Hi,
    Thanks for your reply.
    Ribbon controls (only ITEM and LIST tab) still in disabled mode even if i selected the item in the list view webpart.
    Also, i have noticed the below things,
    when i create a published site (default page : default.aspx) and add the list view webpart in the default page, the controls are in disabled mode on selecting item in list view webpart.
    when i create a team site (default page : home.aspx) and add the list view webpart in the default page, the controls are in enable mode on selecting item in list view webpart.
    Please help me on this.
    Regards,
    Krishna

  • How to show SharePoint list items in tab view?

    Hi All,
    I would like to show list items in tab or metro tiles like:
    How to achieve this?
    Thanks in advance!

    Hi Sam,
    you can either use third party controls or create your own using JQuery / Javascript-
    my preference is JQuery UI.
    here are some references-
    http://summit7systems.com/tabbed-web-parts-in-sharepoint-2013-office-365/
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-2010-at-Work-SharePoint-2010-Tab-Page-Peter-Allen.aspx
    http://sympmarc.com/2011/11/09/adding-a-tabbed-view-to-a-web-part-page-using-jqueryui/
    http://kyleschaeffer.com/sharepoint/wp-tabify/
    Metro Style -http://dellakin-smith.com/sharepoint-2010-a-simple-metro-style-dashboard/
    http://www.metaengine.com/2012/03/SharePoint-menu-web-part-with-Metro-style-using-a-DVWP
    Third party - http://www.amrein.com/apps/page.asp?Q=5806 
    note: i dont work for amrein or endorse their product, this product was suggested since it gets has functionalities that you are looking for.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How is calculated SC current quantity in item basic data tab ?

    Hello,
    We work on a SRM 7 release with PPS.
    As it is not possible in Extended Classic Scenario to use local contracts (that is not replicated into ECC backend) as sources of supply for "Limit" item Shopping Cart creation, we create "Free text" (Description) SC item.
    For this kind of SC item, according to a specific and dedicated UoM, SC quantity is given as mandatory to be '1'. Then, users populate price. So, in this way, we have an "Amount" SC item being equivalent to standard "Limit" SC item.
    Then, at corresponding PO item creation, SC item quantity ('1') is populated into PO item gross price and SC item gross price is populated into quantity PO item in order to be able to confirm in "quantity" our PO.
    This process is OK.
    Nevertheless, we have two sides effect after PO is generated :
    1- Field "Current quantity" (not sure with the name - i do not have SRM system in front of me)  for SC item basic data tab seems to be populated with value being difference between SC item quantity and PO item quantity.
    For example, if SC item quantity is '1' and PO item quantity is  '20.000' in SC item basic data, order quantity is '1' and ordered quantity is '20.000' with is normal. But "Current quantity" (below "Ordered quantity") is '19.999-' instead of '0'.
    2- After a first confirmation created based on SC (not on PO, this is important), SC POWL button "Create confirmation" is greyed out. This seems to be normal behavior as PO item quantity confirmed first time can not be lower than 1, this confirmed quantity is greater than SC item quantity. So, there is no SC outsanding quantity...
    Our two problems should be linked: this is due to how "Current quantity" for SC is calculated.
    As our customer users do not have access to PO POWL, we can not use create Confirmation transaction in order to use PO as reference document to create confirmations.
    In a technical point of view, field concerned is PS_SC_OUT_QUAN (not sure with this name...) for context ITEM_BASIC_DATA from view V_DODCSC_I_BD (WDC /SAPSRM/WDC_DODC_SC_I_BD ).
    I found enhancement for this field ( /SAPPSRM/WD_SC_I_BD_QUAN ) but this enhancement has no method !
    I tried to debug some methods from Class /SAPSRM/CL_CH_WD_SET_FACADE, but i did not find yet where calculation is done for concerned field.
    My aim is to make an enhancement to overwrite standard calculation.
    An easier way should be to reverse gross price and quantity directly inside SC (to not have difference betwen SC and PO quantities), but our customer does not want.
    Do you have any idea ?
    Regards.
    Laurent.

    Hello,
    We used a workaround to answer to our customer's requirement.
    We ceated two customer fields, one for net price and a second one for the quantity. Using metadata, we hid the two corresponding standard fields and displayed our CUF in SC.
    Using BadI Change for SC, we populated standard fields with our CUF values (after having made inversion between quantity / net price).
    Checks are done in BAdI to be sure our quantity CUF and price unit values are '1'.  
    As we use SC to create only PO as follow-on document, no other modifications are necessary.
    Regards.
    Laurent.

  • Specifying access settings for tabs in portal pages (rel.2)

    Hello
    I'm having a problem with specifying access settings on tabs.
    I've enabled "Enable Item Level Security" on the page properties.
    I've created a new tab on the page, which i've added view privilegies for a specific group, selected specify access settings and unselected "Display Tab To Public Users".
    When this is done, the page should only be wievable for members of the group i selected and myself.
    But this isn't happening. Users that aren't in the selected group can still view the tab.
    What is happening here?
    Regards
    Per-Jarle Sfther

    Per-Jarle,
    Are you sure that the users are not part of a group that is included in the group you gave access to on the tab?
    Rich

  • Setting stacked canvas properties when inside a tab canvas

    Hi all,
    I grope setting the x and y position of a stacked canvas programmatically : I work inside a tab canvas , there is one multirecord based block which is split into two tab pages. The problem is that the x and y positions of each first item in each tab of the block are no the same. And I want to hide and show the stacked canvas on which is based the scrollbar of the block , according to the top_most_tab_page.
    The stacked canvas has the same width and height as the tab canvas ; it has viewport width set to the width of the scrollbar , say 0.415 ; it has viewport height set to the length of the scrollbar , say 1.833 ; the viewport X/Y position on canvas properties are set to 0.
    I tried to set the VIEWPORT_X_POS and VIEWPORT_Y_POS properties of the view programmatically to place the scrollbar just sticky with the first item when in each tab page , but the scrollbar is not displayed on the desired place. It is moved.
    So how to place the stacked canvas at the right position to be stuck with the left first item ?
    Thank you very much indeed.

    I did a little test and it works (it'll only take you 3 min)
    Create a new Form.
    Add 3 Canvases 1 Content and 2 Tab with the following Properties
    Content
    Vieport X Position on Canvas: 0
    Vieport Y Position on Canvas: 0
    Width: 540
    Height: 324
    Master Tabs
    Vieport X: 35
    Vieport Y: 20
    Vieport Width: 460
    Vieport Heigth: 280
    Detail Tabs
    Vieport X: 150
    Vieport Y: 95
    Vieport Width: 260
    Vieport Heigth: 160
    Then go to Layout editor and while viewing the Content Canvas go to the menu View -> Stacked View...
    From there select both tab canvases to be shown.
    Also add a dummy item (i.e a button )somewhere in the form otherwise nothing will appear when you run the form.

  • Tab canvas inside a tab canvas

    Anyone knows how to put a tab canvas inside a tab canvas.
    thanks.

    I did a little test and it works (it'll only take you 3 min)
    Create a new Form.
    Add 3 Canvases 1 Content and 2 Tab with the following Properties
    Content
    Vieport X Position on Canvas: 0
    Vieport Y Position on Canvas: 0
    Width: 540
    Height: 324
    Master Tabs
    Vieport X: 35
    Vieport Y: 20
    Vieport Width: 460
    Vieport Heigth: 280
    Detail Tabs
    Vieport X: 150
    Vieport Y: 95
    Vieport Width: 260
    Vieport Heigth: 160
    Then go to Layout editor and while viewing the Content Canvas go to the menu View -> Stacked View...
    From there select both tab canvases to be shown.
    Also add a dummy item (i.e a button )somewhere in the form otherwise nothing will appear when you run the form.

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • SONiC - Items in "Notifications" tab not executable

    Hi,
    We are using the SONiC connector to view items from the SAP Business Workplace inbox.
    Landscape Versions:
    ECC 6.0 with SAP EP 7.0 SP 17.
    We can see the items in the Notifications tab, but they are not executable, so we can not view the body of the mail. Usually the items appear as URL's, and when they are executed, the message body is displayed.
    The connection status is successful for the Notifications tab.
    Please advise if you have seen this behaviour, and found a solution for it.
    Thank you very much.
    Ronald Meyer

    Upto my knowledge , what i know about SONIC is when ever you want to receive mails in the UWL then you will configure SONIC , in order to receive the mails in the notification tab of the UWL., And more over the items under the notification tab are not executable.
    By default all the backend workitems will appear under the TASK's tab. and the items under this tab are executable.
    so can you be a bit more clear on the issue, or if  Iam wrong please let me know

  • Tabbed views using JSP

    Hi all!
    Does anyone knows how can I insert "tabbed views" inside a JSP page ?
    A simple example would be usefull.
    Regards
    Jose

    Hi,
    i think that it is much better that you keep using the traditional way to develop your webapplication : using Struts,JSP,Servelt, TagLib (you can find a lot of them on internet to create panel,ecc.).
    I suggest you this because JSF is not a mature technology at the moment; when it will be stable i think it will be used a lot because is very useful to separate the presentation level and the business level.
    At the moment i have to work with ".NET toy" where there is something called WebForm which is equal to JSF concept.
    Cheers.
    Stefano

  • Rather than go to the home page I have specified in the General tab of Options in the Tools menu, Firefox keeps going to a truncated version of this url.

    I have used the following URL as my firefox home page for quite some time:
    https://www.google.com/search?num=100&safe=off&hl=en&complete=0&q=Rochester-NY+CDC.gov+|+NIH.gov&btnG=Search
    Several months ago, malware of some sort replaced this url with one of their own. I got rid of the malware and put back my original home page, but I'm continuing have a problem: Every time firefox goes to my home page, rather than using the whole url that I've specified, firefox truncates this url to just the first 87 characters, and goes to this truncated url instead:
    https://www.google.com/search?num=100&safe=off&hl=en&complete=0&q=Rochester-NY+CDC.gov+
    Not only is this not the url that I have specified in the General tab under Options in the Tools menu, I always get an error message in an additional tab whenever Firefox goes to this truncated version of my home page. Can anyone tell me what I need to do to get firefox to use the entire url I have specified as my home page in the General Tab under Options?
    I do not know if this is relevant or not, but I noticed that prefs.js includes two other user prefs related to the home page in addition to the one that identifies the url I chose:
    user_pref("browser.startup.homepage", "https://www.google.com/search?num=100&safe=off&hl=en&complete=0&q=Rochester-NY+CDC.gov+|+NIH.gov&btnG=Search");
    user_pref("browser.startup.homepage_override.buildID", "20130617145905");
    user_pref("browser.startup.homepage_override.mstone", "22.0");

    You need to escape the pipe character as %7c if you want to include it in the URL

  • How to cancel tabbed viewing in Fireworks CS5?

    How to cancel tabbed viewing in Fireworks CS5? I don't like tabs, but I couldn't find in Preferences an option to cancel it.

    Choose Window > Cascade from the main toolbar.

  • Show all versions of an item in a list view SharePoint 2010

    Hi,
    I created a task list and a view.  The list has a comments field which is set up to append new comments.  In the view, the comments are coming up with a link "View Entries".  How can I get the view to show all of the comments
    for each item in a view.
    For instance, instead of it showing the list item:
    ID  Comments
    1    View Entries...
    it would show:
    ID Comments
    1  Blah
    1  Blah Blah
    1  Blah blah blah
    Thanks,
    Jan

    I handled this a different way, however this will only work for you if you don't have a big list yet.
    1. Create a new field called "Comments Report"
    2. Copy and paste existing comments into that field
    3. Create a workflow in SharePoint Designer on Item Created and Change, under Action "Set Field in Current Item":
    Set [Comments Report] to [%Workflow Context:Current User%] ([%Workflow Context:Date and Time Started%] [%Workflow Context:Date and Time Started%]): [%Current Item:Comments%] </br></br>[Current Item:Comments Report%]
    The first date and time is Short Date, the second is Short Time.  Then hide the Comments Report within the Manage Content Type edit screen by changing it to hidden, and only display the Comments Report field where you want to view it.

Maybe you are looking for

  • Dump in BAPI while fetching data

    Hi all, I m getting a short dump (: ' No more storage space available for extending an internal table.') in my vendor trial balance report  . The place of short dump is the BAPI which im using to fetch opening balance i.e BAPI_AP_ACC_GETKEYDATEBALANC

  • I've lost the application folder from Favorites. How do I get it back?

    I've somehow lost the application folder which should be located in Finder - left hand side under Favorites. I can do a search and find a specific application located on the hard drive - so I haven't deleted them.  But I want the Application folder w

  • Technology-Specific Customized Operating Systems

    I am in the health care & biotech field. What i find interesting is the huge price tags of data analysis software & applications, or the wimpy computing systems they might attach with said applications. Why doesn't someone market a Mac mini (clustere

  • Desktop Software Error

    I recently switched my computer from Vista to Windows7.  I am trying to download the BB software to my computer from the disk provided with my phone.  I am getting an error that says Windows C++ redistributable is required.  When I try to add C++ fro

  • ITunes 11 with library on external HD won't resume downloads

    I am running iTunes 11 with the media files stored on an external hard-drive. This setup works great except for one thing: If I am currently downloading something from the iTunes Store and I quit iTunes (either pausing the download first or not), whe