How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
because I'm no longer prompted to click OK for my cert.
So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
"don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
Here's the script I'm working with (which I didn't create but am grateful for):
<style>
.httpFolder {behavior:url(#default#httpFolder);}
</style>
<script text = "javascript">
   function fnOpenFolderView(){
   oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
</script>
<div id = "oDAV" class = "httpFolder"/>
<input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
JackSki123

Hello Thriggle,
Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
JackSki123

Similar Messages

  • HT2731 How do I remove an email address that is no longer vaild for the iTunes Store?  A really old email address keeps popping up on my iPhone, the email address is not valid and I have no idea what the password was.  It's been over two years.

    How do I remove an email address that is no longer vaild for the iTunes Store or my iPhone?  A really old email address keeps popping up on my iPhone, the email address is not valid and I have no idea what the password was.  It's been over two years.

    Hello tcnolen1,
    It sounds like you are trying to change the Apple ID logged into the iTunes & App Stores on your iPhone.  Use these steps:
    Changing your Apple ID account
    Tap Settings > iTunes & App Stores, then tap the Apple ID signed in.
    Sign out of the current Apple ID account and then sign in with another account or create a new Apple ID.
    You can find the full article here:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How do I turn off the feature that opens the last window in an application

    Hello;
    I want to turn off the feature that opens the last window when I return to an application.
    Matt

    System Prefs > General > Last checkbox at the bottom.

  • How to make this work with Firefox, HELP!

    Downloading for Real-player, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. How to make this work with Firefox, I like not to use Microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • How to create a dynamic mapping of columnar at the Runtime using ADF or JSF

    How to create a dynamic GUI at the Runtime using ADF or JSF in JDeveloper 11g.
    What I am trying to build is to allow the user to map one column to another at the run time.
    Say the column A has rows 1 to 10, and column B has rows 1 to 15.
    1. Allow the user to map rows of the two tables
    2. An dhte rows of the two columns are dynamically generated at the run time.
    Any help wil be appreciated.....
    Thnaks

    Oracle supports feedback form metalink was; "What you exactly want to approach is not possible in Htmldb"
    I can guess that it is not
    exactly possible since I looked at the forums and documantation etc. but
    couldnt find anything similar than this link; "http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.h
    t". But this is a very common need and I thought that there must be at least a workaround?
    How can I talk or write to Html Db development team about this since any ideas, this is very important item in a critial project?
    I will be able to satisfy the need in a functional way if I could make the
    select lists in the tabular form dynamic with the noz_id;
    SELECT vozellik "Özellik",
    htmldb_item.select_list_from_query(2, t2.nozellik_deger, 'select vdeger
    a,vdeger b from tozellik_deger where noz_id = 10') "Select List",
    htmldb_item.text(3, NULL, t2.vcihaz_oz_deger) "Free Text"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    But what I exactly need i something like this dynamic query;
    SELECT
    vozellik "Özellik",
    CASE
    WHEN (t2.nozellik_deger IS NULL AND t2.vcihaz_oz_deger IS NOT NULL) THEN
    'HTMLDB_ITEM.freetext(' || rownum || ', NULL) ' || vozellik
    WHEN (t2.nozellik_deger IS NOT NULL AND t2.vcihaz_oz_deger IS NULL) THEN
    'HTMLDB_ITEM.select_list_from_query(' || rownum ||
    ', NULL, ''select vdeger a,vdeger b from tozellik_deger where noz_id = ' ||
    t1.noz_id || ''' ) ' || vozellik
    END AS "Değer"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    Thank you very much,
    Best regards.
    H.Tonguc

  • How do I set up a template that opens the mix and arrange windows in multiple screens? I am using Mac OSX 10.6.4 and Logic 9. Thanks in advance for your time and advice.

    I want to be able to set up a template that opens my mix window on my laptop, and my arrange page on my bigger HP monitor.
    It seems that saving the template while this configuration is set doesn't save it.
    Bum.

    Hi microjac,
    You should be able to open the desired windows and lock the Screenset using the Screenset menu in the global menu bar. Then save as a template. This works using an Apple monitor with a MBP so hopefully will work with any display.
    mrjferrell

  • How to create a web dynpro application to open the KM Files?

    I want to create a webdynpro application to open the <b>KM Excel files</b>?What would i do ?Can anybody help me ?

    Hi zhang,
    take a look to this:
    KM:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/kmc/resource%2band%2bcollection%2bversioning%2busing%2bkm%2bapis
    https://help.sap.com/javadocs/NW04S/SPS09/km/index.html
    Excel:
    /people/subramanian.venkateswaran2/blog/2006/10/02/enhanced-file-upload--uploading-and-processing-excel-sheets
    Hope this help you.
    Vito

  • I need to know how to create a dual boot so that I can have Windows 7 and the Mac OS

    I need this so that I can have Microsoft Access, because it's not available for Mac..
    And, I have so many computer games that I have for Windows that I want to play on my Mac.
    Help please!

    You do not open it yet.
    First you need to read this: http://manuals.info.apple.com/en_US/Boot_Camp_Install-Setup_Late2010.pdf
    This will tell you when the Windows image is required.
    Prepare for this on all fronts first ... backup/clone, and read the ENTIRE document.
    Then ask about what to do with the Windows ISO. 
    At least in my humble opinion.  This can go badly quickly if you miss a step.

  • How to make this work with Firefox, I like not to use microsoft products! HELP!

    Downloading for Realplayer, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. Hoow to make this work with Firefox, I like not to use microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • How to create a dynamic parameter off a universe field

    Post Author: Summer Frend
    CA Forum: General
    Hello,
    I am trying to create a dynamic parameter in Crystal Reports off my universe field. However the fields appear to all come in as STRING with length 65534 (memo field?). Therefore the fields are not available to choose in my parameter creation box. NOTE: In the universe designer, the field is set as CHARACTER type. I am just trying to make it work with the sample universes that are shipped with BobJ.
    Is there a way in the Universe Designer to make the fields come into Crystal Reports as string fields so that I can choose them as the value for the dynamic parameter in Crystal Reports?
    Thanks,
    Summer Frend

    I'll try again,
    My problem is that I want a dynamic paramater for my Master flow (on START1 activity, so it is something like that : start1.param = select seq.nextval form dual; or from a function GET_PROCESS_ID) but it seems that I must give a permanent parameter it can not be set dynamicaly. I want my flow to be independant of any human intervention. So if it is the first load it does one thing if not the first load it does something else. I can not understand the point of having a parameter (in) that can not be set dynamicaly (looks more like a constant to me, or I'm missing something here). Hope your getting my point.
    Thanks again
    Jacques

  • How do i remove an email address that is not connected to a contact

    How do I remove an email address that I used once and it keeps popping up when I try to send an email that starts with the first letter of that email addy I used one time?

    The only way to remove those email addresses is to do a factory restore of the phone which wipes all data. In my opinion, easier to live with the address.

  • Just got iPhone 4 but doesn't have a mic for speech to text. downloaded dragon dictation but too many steps to make it work for texting. how can I get easy speech to text

    just got iphone4 but it has no mic for speech to text. downloaded dragon dictation but too many steps to make it work with texting. how can I do simple speech texting?

    To get speech to text you need an iPhone that supports Siri. The iPhone 4S and the iPhone 5 both support Siri

  • Tutorial Announcement .:: How to Create a Dynamic RSS Feeds  ::.

    .:: How to Create a Dynamic RSS Feeds ::.
    Using Adobe Dreamweaver 8 and InterAKT Rss Reader Writer Extension.
    Hello everyone...
    RSS feeds are very useful within sites, as they allow integrating for you website content in an automatic manner. Just share the source for the RSS feed, and when the original content changes, it will reflect in the content you share with any one who subscribed in this feeds on your site.
    In this tutorial i`ll help you integrate a RSS feed into one of your pages. This will display the content of your website to feeds subscribers with up to date content.
    The main purpose of this tutorial is to create a page that allows visitors subscribe to the RSS Feed that they want to see from your website content, or even enter their own in a text box by searching through feeds. also you can define feeds categories if your website is online store, merchant etc...
    :: Online Demo ::
    :: Go to tutorials ::
    Best Regards
    Waleed Barakat
    Developer-Online Creator and programmer
    http://www.developer-online.com

    Hey Waleed,
    thanks again for this great stuff -- and thanks for removing the login protection :-)
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • How to create a variance on data that exists iIn only one database column

    How to create a variance on data that exists iIn only one database column?
    I'm trying to create a calculation to show the difference between the budgets for two different years in a Discoverer crosstab query.
    I'm using the lag function to repeat the value of a column for the current year and the year before.

    Lag and lead seems to be the only choice and they work excellent. Checkout the new 10g Database features. There is new SQL modal clause which might give additional and powerful analytics but in this case lag and lead should be sufficient.
    regards
    http://www.infocaptor.com/workbook-dump.php

Maybe you are looking for

  • How to handle error in SOAP adapter

    Hi all, I have a scenario where i have configured SOAP adapter to call a webservice which is working fine. But when ever server hosting the webservice is down, PI still shows the message is processed successfully. Through RWB, i can see that message

  • How can know which user accessing specific form in ERP application

    Hi, In our organization we have ERP application that is developed based on Orace forms and reports 10g. My question is how can i know which user accessing specific form in ERP application based on their login. Please do the needful. Regards, M. Satis

  • How to set default value of VO from pageflowscope variable

    Hi All, I have a page for creating new records and when the user clicks on the create button I show a pop up window for creating the new record. I would like to default few values when the page pops up.I have these default values in pageflowscope var

  • Can't use what I bought.

    I bought Adobe Export PDF over a month ago and when I try to convert a document, it just takes me to a page to buy the program.  This is getting aggravating.  Is there no tutorial for how to use this?  I either want help or my money back!! Thanks Mar

  • Setup of BPO Dashboards and Connector Instance

    Hello, I have maintained a monitoring object (Deliveries) at the Logical Component level. I am trying to set up my 1st dashboard and have some questions. The only choice for the connector instance is BPM_Detail_List (Analytics_DL_default). This seems