When pasted large # of values in Choice Prompt, Stop running this script?
Hi,
In a choice prompt, I am cut paste large number of values (about 4000) in 11g dashboard. After a few seconds I get a popup 'Stop running this script?'. The same number of values works very quickly and without prompt in 10g.
The behavior looks to be due to java script running to set the choice values in 11g. Even if I paste these as ; separated values time taken is very very large.
Two questions
(a) Why it takes so long compared to 10 g? If I paste small # of values (say 30) , control comes back with active 'Apply' button quickly.
(b) What can be done to improve this performance?
See this posting http://www.itwriting.com/blog/119-ie7-script-madness.html and work around to suppress the popup.
I tried using presentation variable and that avoids the popup. Why?
I will like to know what options I have for better user experience.
Bhupendra
You need to use Column Filter Prompt for this. One of the main reasons why this is not available in a Dashboard Prompt is that in a Dashboard Page you can have reports using the dashboard prompts and standalone reports(that do not use dashboard prompts). Since there is no link between the dashboard prompts and the individual reports per se, you would not be able to run the reports(that depend on the dashboard prompts) after entering the data in the dashboard prompt. The first way as i said is to use Column filter prompts instead of Dashboard Prompts. The other way to achieve this is, create the dashboard prompt and the report in seperate sections. Then minimize the report section. So, first time you open the dashboard the report would not run in the background. Expand when you actually want to see the report. The third way is to use presentation variables rather than using the is prompted clause. The fourth way is by specifying some default values(which i believe you do not want).
Thanks,
Venkat
http://oraclebizint.wordpress.com
Similar Messages
-
When I run this script nothing is output to the screen or spooled to a file
When I run this script nothing is output to the screen or spooled to a file. What do I need to do to get output from this script.
SET SERVEROUTPUT ON size 100000
DECLARE
v_schema Varchar2(50);
v_statement Varchar2(500);
v_name varchar2(30);
v_id varchar2(8);
v_pwd varchar2(16);
v_acct varchar2(16);
CURSOR get_schemas IS
SELECT DISTINCT owner
FROM all_tables
WHERE table_name = 'USERID'
ORDER BY owner;
BEGIN
OPEN get_schemas;
LOOP
FETCH get_schemas INTO v_schema;
EXIT WHEN get_schemas%NOTFOUND;
v_statement := 'SELECT name,usid,passwd,acctnum INTO v_name,v_id,v_pwd,v_acct FROM '||v_schema||'.userid';
execute immediate v_statement;
DBMS_OUTPUT.PUT_LINE('Name='||v_name||' ID='||v_id||' PW='||v_pwd||' AC='||v_acct);
END LOOP;
CLOSE get_schemas;
END;
/Do I include several variables after the INTO or just
one?
How do I loop through the record and print the
individual variables?
I appreciate your assistance!He already gave you the answer above:
v_statement := 'SELECT name,usid,passwd,acctnum FROM ' || v_schema ||
'.userid';
execute immediate v_statement
INTO v_name, v_id, v_pwd, v_acct;
If this is not printing any output, it is because you don't have a table named USERID... what are you trying to do? -
ORA-06502: PL/SQL: numeric or value error : Not able to run a script
Hi All,
I want to run a script like this:
DECLARE
I_so_status_dtl RIB_SOStatusDtl_REC;
BEGIN
I_so_status_dtl := RIB_SOStatusDtl_REC('0' --Cust Order No
,'1000000014' --Dest ID
,'100010222' --Item ID
,1 --Order Line Number
,1 --Unit Quantity
,'R' --Status
,'RMS12DEV' --User ID
,'06-May-2001' --Updated Date
End;
I am trying to run this script. Actually this script is supposed to generate an XML message, which I require. Here's the definition for the TYPE RIB_SOStatusDtl_REC:
create or replace TYPE RIB_SOStatusDtl_REC UNDER RIB_OBJECT (
cust_order_nbr VARCHAR2(10),
dest_id VARCHAR2(10),
item_id VARCHAR2(25),
order_line_nbr NUMBER(3),
unit_qty NUMBER(12,4),
status VARCHAR2(2),
user_id VARCHAR2(10),
updated_date DATE,
overriding member procedure appendNodeValues( i_prefix in varchar2)
,constructor function RIB_SOStatusDtl_REC (rib_oid number, cust_order_nbr VARCHAR2, dest_id VARCHAR2, item_id VARCHAR2, order_line_nbr NUMBER, unit_qty NUMBER, status VARCHAR2) return self as result
,constructor function RIB_SOStatusDtl_REC (rib_oid number, cust_order_nbr VARCHAR2, dest_id VARCHAR2, item_id VARCHAR2, order_line_nbr NUMBER, unit_qty NUMBER, status VARCHAR2, user_id VARCHAR2) return self as result
This TYPE has a body which actually generates an XML message.
But whenever I am trying to run this, I am getting the following message:
Error report:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at line 6
06502. 00000 - "PL/SQL: numeric or value error%s"
*Cause:
*Action:
Therefore I am not able to run the following script. Here I am passing hard coded value within the TYPE, as I have run similar kind of scripts, which accepts this and creates an xml message. Can anyone help me what's the wrong with this script?
Thanks & Regards,
DebabrataHi,
Create one constructor same as with 8 parameters as you have constructor for only 7 and 8 9 parameters.
Regards
RK -
I have an older Macbook with OS/X. Tried to download iTunes 10 a few times now, but when installing I always get the same error message: Run Preinstall Script for Apple Mobile Device Support. What can I do to finalise the installation?
Thanks. Short of the sort of "generic" suggestions of restaring your system, if you haven't, and repairing disk permissions and verifying the disk, I don't have any advice right now. I'll do some research and see if I can come across anything. Meanwhile, someone else may have an idea.
Regards. -
I see two dialog boxes when I run this script, why?
When I run this script I see two dialog boxes of "Would you like to Minimize firefox", the first has no default button selected, the second one does.
What is going on? How do I end up with only one dialog box?
set minfirefox to "Would you like to Minimize firefox?"
set tempvar to display dialog minfirefox buttons {"Yes", "No"}
set ButtonPressed to button returned of tempvar
display dialog minfirefox buttons {"Yes", "No"} default button "Yes"
if ButtonPressed is "yes" then
display dialog "you pressed " & ButtonPressed
else
display dialog "you should have pressed yes but you pressed " & ButtonPressed
end ifHi--
Welcome to the Apple Discussions...
StewartAlexander wrote:
When I run this script I see two dialog boxes of "Would you like to Minimize firefox", the first has no default button selected, the second one does.
What is going on? How do I end up with only one dialog box?
You're telling it to display the dialog twice. Once here without the default button:
set tempvar to display dialog minfirefox buttons {"Yes", "No"}
and then again here:
display dialog minfirefox buttons {"Yes", "No"} default button "Yes"
But you're ignoring the buttons returned from the second one.
charlie
PS. This probably does more like what you want:
set minfirefox to "Would you like to Minimize firefox?"
set tempvar to display dialog minfirefox buttons {"Yes", "No"} default button "Yes"
set ButtonPressed to button returned of tempvar
if ButtonPressed is "yes" then
display dialog "you pressed " & ButtonPressed
else
display dialog "you should have pressed yes but you pressed " & ButtonPressed
end if -
Jvm startup fails with error when using large -Xmx value
I'm running JDK 1.6.0_02-b05 on RHEL5 server. I'm getting error when starting the JVM with large -Xmx value. The host has ample memory to succeed yet it fails. I see this error when I'm starting tomcat with a bunch of options but found that it can be easily reproduced by starting the JVM with -Xmx2048M and -version. So it's this boiled down test case that I've been examining more closely.
host% free -mt
total used free shared buffers cached
Mem: 6084 3084 3000 0 184 1531
-/+ buffers/cache: 1368 4716
Swap: 6143 0 6143
Total: 12228 3084 9144
Free reveals the host has 6 GB of RAM, approximately half is available. Swap is totally free meaning I should have access to about 9 GB of memory at this point.
host% java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Server VM (build 1.6.0_02-b05, mixed mode)
java -version succeeds
host% java -Xmx2048M -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
java -Xmx2048M -version fails. Trace of this reveals mmap call fails.
mmap2(NULL, 2214592512, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
Any ideas?These are the relevant java options we are using:
-server -XX:-OmitStackTraceInFastThrow -XX:+PrintClassHistogram -XX:+UseLargePages -Xms6g -Xmx6g -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=128m -XX:MaxPermSize=192m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true
This is a web application that is very dynamic and uses lots of database calls to build pages. We use a large clustered cache to reduce trips to the database. So being able to acces lots of memory is important to our application.
I'll explain some of the more uncommon options:
We use the Concurrent Garbage collector to reduce stop the world GC's. Here are the CMS options:
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled An explicit coded GC invokes the Concurrent GC instead of the stop the world GC.
-XX:+ExplicitGCInvokesConcurrentThe default PermSizes where not large enough for our application. So we increased them.
-XX:PermSize=128m
-XX:MaxPermSize=192mWe had some exceptions that were omitting their stack traces. This options fixes that problem:
-XX:-OmitStackTraceInFastThrowWe approximate between 10% to 20% performance improvement with Large Page support. This is an advance feature.
-XX:+UseLargePagesUseLargePages requires OS level configuration as well. In SUSE10 we configured the OS's hugepages by executing
echo "vm.nr_hugepages = 3172" >> /etc/sysctl.confand then rebooting. kernel.shmmax may also need to be modified. If you use Large Page be sure to google for complete instructions.
When we transitioned to 64bit we transitioned from much slower systems having 4GB of ram to much faster machines with 8GB of ram, so I can't answer the question of degraded performance, however with our application, the bigger our cache the better our performance, so if 64bit is slower we more than make up for it being able to access more memory. I bet the performance difference depends on the applications. You should do your own profiling.
You can run both the 32bit version and the 64bit version on most 64bit OSes. So if there is a significant difference run the version you need for the application. For example if you need the memory use the 64bit version if you don't then use the 32bit version. -
When I lock my iPhone 5c, the clock stops running.
Hi.
I have a Green iPhone 5c (GSM).
Every time I lock the phone, it - without fail - stops keeping time.
The clock just stops.
Also, my WiFi and Bluetooth crash, and "flicker" often.
Thanks, Will.Easy fix and you shouldn't have wasted a trip to the store. To fix, simpy backup your iPhone via iTunes and then click the Restore iPhone button. Once you restore and add everything back, if the problem still continues you will need to restore the iphone again, however you will then need to set it up as a new device and start adding your data back manually. This will isolate what's causing this issue. However the initial backup/restore should take care of the issue. It's not a hardware problem - it's a software issue.
-
Error when selecting values in column prompt
Hi,
I have one report in OBIEE with large filter on it, it was giving error initially, but i modified filter, i'm getting results in results tab now, but when i'm selecting values in coloumn prompt, i'm getting error.
Error:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14023] None of the fact sources for Business Unit.BU Business Unit Code are compatible with the detail filter.
Query is going through three dimension tables and one fact table. But in BMM layer, each dimension table is joined to 4 fact tables.
I'm not able to resolve this error.
Please give me any suggestions to solve this error.
Thanks in advance.Hi All,
FYI...
This is a bug in the application.
SR Update: There is a known issue of ODBC throwing the 26002 error when any SQL with a length of greater than 64KB characters is encountered. This has been filed as BUG 8251994. -
How to force the user to enter a value in the prompt
Is there a way to force the user to enter a value in the prompt before they run the report?
We have a customer specific dashbaord. The user has to enter a customer number in Dashbaord prompt on a first page of the dashboard. We store that value in a presentation variable. That presenatation variable value is being referenced in all the other pages of the dashabord. If the user does not enter a values in the first page and directly navigates to the other pages on the dashbaord, the reports on the other pages start to run for all the customers. Is there a way to force the customer to enter a value in the prompt before running any of the reports on the dashboard?
Thanks!by Answer prompts, do you mean Column prompt?
I can not use Column prompt in this senario as the user should not have to enter the same customer number over and over again when he navigates from one page to another on the same dashboards. If there is a way to default the column prompts then this would be an acceptable solution.
I have already defaulted the prompt to a value as suggested in hte blog, but the issues occurs when the user erases the defaulted value. Is there are way to set the default value within the report?
Can you please explaing mroe about option 3 regarding Java Script. Also please let me know what other options there are so that I can check whether they will fit my needs.
Thank you very much! -
How to Prompt for User/Pass Running Shell Script Remotely through ARD
So I finally got my Active Directory Script working! However, I realized that I'm not the only one going to be running this script and to have my user name and password in the script itself is beyond foolish. While I know it's possible just to have whoever's running the script to manually add their username and password, I'd prefer to have prompts to make things easier for the rest of my team.
Here's my current script. I've tested it on the machine I'm connecting to Active Directory and it works fine if you run it on the machine itself in terminal. However, I'm going to be doing this on about 150 machines and the whole point of the script is to do it remotely.
#! /bin/bash
MACNAME=$(scutil --get ComputerName)
read -p "User Name: " USER
read -p "Password for $USER: " PASS
dsconfigad -add "CORP.DOMAIN.NET" \
-username $USER \
-password $PASS \
-computer $MACNAME \
-mobile disable \
-mobileconfirm disable \
-localhome enable \
-useuncpath enable \
-shell /bin/bash \
-ou OU=Macs,CN=Computers,DC=corp,DC=DOMAIN,DC=net \
-force \
-localpassword "PASSWORD" \
-groups "GROUPS"
When I run the UNIX script through ARD to a machine, I get no prompts for USER or PASS. In fact, it gives me the following error "dsconfigad: Authentication server encountered an error while attempting the requested operation. (5202)" So it's not asking for a user name and password.
Is there any way to make a shell script prompt you for a User Name and Password when you're sending commands remotely through ARD? Or is there another way to do this?
Any suggestions would be greatly appreciated.
-rksBest solution is to create an account that is exclusive to binding machines. By doing this, you can embed the user name and password in the script. Heck, you can post it on your website. If the account is configured properly, it will only be able to create machine records in a defined container. If you are mixing Macs and PCs in your AD domain, I also recommend creating an isolated container for your Mac records. Now, the account has even less access rights as you can make it so it only has rights to the Mac container.
Otherwise, ARD does not prompt. You can play around with an expect script but the reality is that you are still embedding the credentials in the script so it really does not achieve what you want. ARD is not an interactive shell scripting tool. It is more a fire and forget.
Reid
Apple Consultants Network
Apple Professional Services
Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store -
How do I get my applicatio​n to go away when it stops running?
Hi.
So, I've build and application, and when I programmatically exit from my program, it stops running as expected, but the main top-level panel is still there, allowing me to run it again by pressing the run arrow. I want double-clicking the executable icon to be the only way the user can run the program.
Is there anyway of doing this?
Thanks...
-Umar.Have you tried the 'Quit LabView' .vi? LV 8.2.1 example attached.
I usually test for the application kind, so that the development system doesn't exit but the built application does.
Matt
Attachments:
quit_application.vi 9 KB -
My iMac running 10.7.5 crashes when I store a large amount of data like copy and paste a picture. It also has started being painfully slow to open the first page in Safari. Here's is some information a program gathered on my computer. -Thanks!
Problem description:
iMac 10.7.5. Crashes when copy & paste large amounts and slow to first open first web page then back to normal speed
EtreCheck version: 2.1.8 (121)
Report generated April 13, 2015 3:05:27 PM EDT
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (27-inch, Late 2009) (Technical Specifications)
iMac - model: iMac10,1
1 3.33 GHz Intel Core 2 Duo CPU: 2-core
8 GB RAM
BANK 0/DIMM0
2 GB DDR3 1067 MHz ok
BANK 1/DIMM0
2 GB DDR3 1067 MHz ok
BANK 0/DIMM1
2 GB DDR3 1067 MHz ok
BANK 1/DIMM1
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: Unknown
Video Information: ℹ️
ATI Radeon HD 4670 - VRAM: 256 MB
iMac 2560 x 1440
System Software: ℹ️
Mac OS X 10.7.5 (11G63) - Time since boot: 14 days 7:47:18
Disk Information: ℹ️
ST31000528AS disk0 : (1 TB)
disk0s1 (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (777.11 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OPTIARC DVD RW AD-5680H
USB Information: ℹ️
Sunplus Innovation Technology. USB to Serial-ATA bridge 1 TB
disk2s1 (disk2s1) <not mounted> : 210 MB
Time Machine Backups (disk2s2) /Volumes/Time Machine Backups : 999.86 GB (143.50 GB free)
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Computer, Inc. IR Receiver
HP Deskjet 9800
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Kernel Extensions: ℹ️
/Library/Extensions
[loaded] org.virtualbox.kext.VBoxDrv (4.2.18) [Click for support]
[loaded] org.virtualbox.kext.VBoxNetAdp (4.2.18) [Click for support]
[loaded] org.virtualbox.kext.VBoxNetFlt (4.2.18) [Click for support]
[loaded] org.virtualbox.kext.VBoxUSB (4.2.18) [Click for support]
/Library/Parallels/Parallels Service.app
[loaded] com.parallels.kext.prl_hid_hook (7.0 15107.796624) [Click for support]
[loaded] com.parallels.kext.prl_hypervisor (7.0 15107.796624) [Click for support]
[loaded] com.parallels.kext.prl_netbridge (7.0 15107.796624) [Click for support]
[loaded] com.parallels.kext.prl_vnic (7.0 15107.796624) [Click for support]
/System/Library/Extensions
[loaded] com.parallels.kext.prl_usb_connect (7.0 15107.796624) [Click for support]
Startup Items: ℹ️
HP IO: Path: /Library/StartupItems/HP IO
ParallelsTransporter: Path: /Library/StartupItems/ParallelsTransporter
VirtualBox: Path: /Library/StartupItems/VirtualBox
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[running] com.hp.devicemonitor.plist [Click for support]
[loaded] com.hp.help.tocgenerator.plist [Click for support]
[loaded] com.parallels.desktop.launch.plist [Click for support]
[loaded] com.parallels.DesktopControlAgent.plist [Click for support]
[running] com.parallels.vm.prl_pcproxy.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.hikvision.iVMS-4200.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
[running] com.parallels.desktop.launchdaemon.plist [Click for support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Click for support]
[running] com.akamai.single-user-client.plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
[not loaded] org.virtualbox.vboxwebsrv.plist [Click for support]
User Login Items: ℹ️
iTunesHelper UNKNOWN (missing value)
GrowlHelperApp Application (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
Microsoft AU Daemon Application (/Applications/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app)
Air Mouse Server UNKNOWN (missing value)
CrossOver CD Helper UNKNOWN (missing value)
Pages UNKNOWN (missing value)
Dropbox Application (/Applications/Dropbox.app)
Wondershare Helper Compact Application (/Users/[redacted]/Library/Application Support/Helper/Wondershare Helper Compact.app)
AdobeResourceSynchronizer Application Hidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
Internet Plug-ins: ℹ️
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.1
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
Google Earth Web Plug-in: Version: 6.0 [Click for support]
Silverlight: Version: 4.0.60531.0 [Click for support]
iPhotoPhotocast: Version: 7.0
Safari Extensions: ℹ️
1-ClickWeather
Reload Button
3rd Party Preference Panes: ℹ️
Akamai NetSession Preferences [Click for support]
Flash Player [Click for support]
Growl [Click for support]
MacFUSE [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
2% WindowServer
1% prl_disp_service
0% fontd
0% AdobeReader
0% ODSAgent
Top Processes by Memory: ℹ️
120 MB mds
112 MB AdobeReader
94 MB WindowServer
94 MB Finder
69 MB loginwindow
Virtual Memory Information: ℹ️
5.44 GB Free RAM
1.78 GB Active RAM
464 MB Inactive RAM
901 MB Wired RAM
1.64 GB Page-ins
0 B Page-outsI believe that insufficient RAM may be the source of some of your problems. If you have a RAM of somewhere 4 to 8GB, you will experience smoother computing. 3GB doesn't seem right, so you might want to learn more by going to this site:
http://www.crucial.com/store/drammemory.aspx
I don't know what know what's happening with your optical drive, but it seems you use your drive quite a bit. In that case, look into a lens cleaner for your machine. It's inexpensive, works quite well.
I hope you'll post here with your results! -
11g: using limited values in column prompts
Hello,
in the "Column Filter Prompt Properties" dialog box used in 10g, there was an option called "Limited Values" for "What values should be shown to the user" question. So the users could only see those choices allowed by a filter.
Is there such thing in 11g? I could not find it anywhere. Please help!Oh I see what you mean. You're talking about the column filter. But it's not actually what I mean.
I mean that it 10g when you click not Criteria tab, but Prompts tab - that's where you can create what they call "Column Filter Prompt". And in that tab you can bring up the "Column Filter Prompt Properties" window and select "Limited Values". Hope I now made it clear what I needed.
Thanks! -
I need a tag for the URL to the large image in order to use the Facebook Feed dialog (share).
See example at https://aesgatorshack.worldsecuresystems.com/gator-shack/ladies/ladies-aes-pep-rally-repli ca-jersey.
When you click the "Share on Facebook" link, it doesn't use a photo. I can specify a photo to use; however, I need the URL to the image.
Here's the Facebook code as is:
<a href="#" class="social_button social_blue" onclick="window.open('https://www.facebook.com/dialog/feed?link={tag_itemurl_withhost}&app_id=271818569626492&redirect_uri={tag_itemurl_withhost}& amp;name={tag_name}&display=popup','Sharing My AES Gator Shack Finds','width=640,height=320');">Share on Facebook</a>
I can add the picture= parameter, but I need the URL to the image.There is no way to get the value of the large image tag like you can for image fields in webapps. In webapps, if you created a field called "image" then you can output the whole image markup with {tag_image} or just the URL to the image with {tag_image_value}.
This isn't possible with the large product image. I recently had to implement a Pin It Button on an eCommerce site on BC and had to use javascript to update the link that triggers the Pin It button with the URL of the image. Here's what I suggest. Instead of doing the whole code in the "onclick" attribute, you should use some jQuery and some data-* attributes and set the whole link up with that instead of inline javascript on the anchor element.
Here's a fiddle that should work for you. It requires jQuery to be loaded before you include this script on your page and requires you to update your markup to the markup shown in my example. Should be an easy cut and paste:
http://jsfiddle.net/thetrickster/KQmdd/ -
I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. Can I fix this?
I'm fairly new to this, but I think it has to do with the way you have the drop downs named. Did you copy one then keep pasting it in each field? If so, that is the problem. You should rename each one with a different number: Dropdown1, Dropdown2, etc. I think that might solve the issue.
Maybe you are looking for
-
Why do some podcasts stop playing & how do I fix it?
Hi. I seem to have a bug with some of my podcasts. I subscribe to a few and I've noticed that sometimes there will be a "bug" in a particular episode which means it just stops playing at a particular point in the item - this can be at the beginning,
-
Problem in getting the data from a cache in hibernate
I am storing data inside a cache. When i am geeting the data from a cache its showing null. How can i retrieve the data from a cache. I am using EHCache
-
"Convert Active Content" problem
Recently, I opened an html page in DW8, and a dialogue box appeared called "Convert Active Content". It said "This page contains <object> tags that may not work properly in the most recent versions of Internet Explorer. To correct this problem, you c
-
How to download Adobe After Effects CS6 trial from the Adobe Download Assistant?
Hi guys, I am a complete novice so im a bit stuck. I am trying to trial the Adobe AE CS6 but ive got to the download assistant and come to a dead end. what do i do next? many thanks!
-
Why will macbook randomly cause chargers to stop working?
Hello all, first sorry for any grammar errors i may have i am reduced to typing this on my iphone. Heres my issue. Both me and my wife own macbooks. Mine is a mc207 and hers is a mc700. The issue is her macbook will randomly every couple months cause