Command button on visio web page not working on sharepoint!

Hey Everyone I created an organizational chart using visio.
However, I customized it by using hide/unhide (command buttons). 
Macro for the HIDE button
Dim LayersObj As Visio.Layers
Dim LayerObj As Visio.Layer
Dim LayerName As String
Dim LayerCellObj As Visio.Cell
Set LayersObj = ActivePage.Layers
For Each LayerObj In LayersObj
LayerName = LayerObj.Name
' Debug.Print LayerName
  If LayerName = "" Then
    Set LayerCellObj = LayerObj.CellsC(visLayerVisible)
 LayerCellObj.Formula = False Or 0
  End If
Next
Macro for the UNHIDE button:
Dim LayersObj As Visio.Layers
Dim LayerObj As Visio.Layer
Dim LayerName As String
Dim LayerCellObj As Visio.Cell
Set LayersObj = ActivePage.Layers
For Each LayerObj In LayersObj
LayerName = LayerObj.Name
' Debug.Print LayerName
  If LayerName = "" Then
  Set LayerCellObj = LayerObj.CellsC(visLayerVisible)
 LayerCellObj.Formula = True Or 1
  End If
Next
Now when I published this visio organizational chart (as a web drawing) on sharepoint using visio web access. My hide/unhide button doesn't work. Can anyone help me out? Any input will be greatly appreciated!
Thanks! :)

Hey everyone I created an organizational chart using visio.
However, I customized it by using hide/unhide (command buttons). 
Macro for the HIDE button
Dim
LayersObj As Visio.Layers
Dim
LayerObj As Visio.Layer
Dim
LayerName As String
Dim
LayerCellObj As Visio.Cell
Set
LayersObj = ActivePage.Layers
For
Each LayerObj In LayersObj
LayerName
= LayerObj.Name
Debug.Print LayerName
If LayerName = ""
Then
Set LayerCellObj = LayerObj.CellsC(visLayerVisible)
 LayerCellObj.Formula
= False Or 0
End If
Next
Macro for the UNHIDE button:
Dim
LayersObj As Visio.Layers
Dim
LayerObj As Visio.Layer
Dim
LayerName As String
Dim
LayerCellObj As Visio.Cell
Set
LayersObj = ActivePage.Layers
For
Each LayerObj In LayersObj
LayerName
= LayerObj.Name
Debug.Print LayerName
If LayerName = "" Then
Set LayerCellObj = LayerObj.CellsC(visLayerVisible)
 LayerCellObj.Formula
= True Or 1
End If
Next
Now when I published this visio organizational chart (as a web drawing) on sharepoint using visio web access.
My hide/unhide button doesn't work. Can anyone help me out? Any input will be greatly appreciated!
Thanks! :)

Similar Messages

  • Router web page not working

    My dad has a WRT54GS that we can't get the WEP key set. We can get onto the router site but when I click on the wireless tab it goes to an empty page.  I thought it may be popups so I turned all that stuff off but it didn't work.  Can anybody help me?  Thanks

    To view the router's web pages:
    You do not need an Internet connection. The router's "web pages" are built into the router.
    Use Internet Explorer, it usually works.
    JavaScript must be enabled.
    Use a computer that is wired to the router.
    In the non-working computer, temporarily turn off your software firewall.
    Point your browser to 192.168.1.1 , then login to your router. Your user name should be left blank. Your password is "admin" (with no quotes), unless you changed it.
    If you are using Zone Alarm, right click on the ZA icon in the system tray (lower right corner of screen) and then click "Shutdown ZoneAlarm", and see if this fixes your problem. If this does not work, try the following with Zone Alarm: Open the ZAISS control center, go to Privacy, then temporarily turn off Ad Blocking and Cookie Control, and see if that fixes your problem.
    If you are using Noton Internet Security with the Add-on Pack, be sure to turn off the Pop-up Blocker, and the Ad blocker. Some users have reported that they needed to uninstall the entire Norton Add-on Pack.
    If you cannot get anything at 192.168.1.1 then perhaps this is not your router's address. Go to "Start" > All Programs > Accessories > Command Prompt.
    A black DOS box will appear. Type in "ipconfig" (with no quotes), then hit the Enter key. Look at the "Default Gateway". Is it 192.168.1.1 ? Point your browser to the "Default Gateway", then login to your router.
    If the above fails, disconnect your modem from the router, and try again. If this corrects your problem, then most likely you have a "modem-router" rather than an ordinary modem. Report back with this problem, and also state the make and exact model number of your modem (not the router).
    If all of the above fails, power down your entire system, unplug it from the wall, wait one minute, then power up and try again.
    If all of the above tips fail, then reset the router to factory defaults: Power down the router and disconnect all wires from it. Wait one minute. Power up the router, allow it to fully boot (1-2 minutes), then press and hold the reset button for 30 seconds, then release the button and allow the router to reset and reboot ( 2-3 minutes). Power down router. Wait one minute. Connect one computer, by wire, to a LAN port on the router. Boot up system. It should work.
    If the reset does not fix your system, then you need to download and install (or re-install) the latest firmware for your router. After the firmware upgrade, you must reset the router to factory defaults, then setup the router again from scratch. If you saved a router configuration file, DO NOT use it.

  • Command button onclick="history.go(-1)" not work as back button

    Hi,
    I'm using Jdev 10.1.3 on WinXP running standalone oc4j.
    Does anyone has experience in implementing command button with onclick="history.go(-1) ? Mine did not work as a back button. It simply stayed on the same page.
    Any idea?

    cor-el, I started Firefox in the Safe Mode as recommended. It looked and worked fine. Same after I closed and reopened it. As suggested, I shut down and restarted and so far it is operating "normally." Pages open on the first try and the back button works just fine. The double headers are gone and all my Bookmarks are in place. I did not change any settings or stop any functions (add-on's, etc).
    Hopefully this has solved the issue. Only time will tell. Thanks for your help. I also have a long list of other things to try from Safe Mode if the issue returns.
    I appreciate your prompt help. Larry.

  • Oracle 8i online docs web pages not working in IE5.5?

    Up until about a week ago, I was able to browse the online docs for Oracle 8i, using Internet Explorer 5.5 SP2 on Windows 2000 SP2. Now, I am getting incomplete web page loads and/or pages that repeatedly reload themselves. I do not experience this problem browsing the same pages with Netscape 6.2 on the same PC. The only relevant change on my PC I can think of was application of Service Pack 2 to Internet Explorer 5.5.
    An example URL is http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76965/c01intro.htm#12981 - this page loads only down to the section "Data Integrity". Other pages exhibit similar behaviour. I don't experience this problem using IE5.5 with any other Web sites.
    I have tried clearing all cookies, cached files, etc. to no avail.
    Any help or suggestion will be appreciated.
    Regards,
    Philip Steiner

    Hi,
    You need to follow below steps:
    1) cd $JAVA_TOP
        2) zip -r customprod.zip. Where the list of all directory paths are present, relative to $JAVA_TOP, for custom application's java files at non-standard location.
        3) Generate & sign customprod.jar file.
    Command: adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/customprod.zip -outputFile $JAVA_TOP/customprod.jar -jar $CONTEXT_NAME 1 CUST jarsigner -storePass -keyPass
        4) Delete temporary customprod.zip.
    Command: rm $JAVA_TOP/customprod.zip
        5) Follow below steps to make the custom jar available for WebLogic
    a) Take a back-up of existing /admin/template/ebsProductManifest_xml.tmp
    b) Modify /admin/template/ebsProductManifest_xml.tmp to add entry for customprod.jar (after customall.jar) 
    c) Run AutoConfig
    d) Bounce the Mid-tier services
    Thanks,
    Anupam

  • Web pages not working

    When I load a p0age from lightroom's web module. They don't work properly.
    1) the directorys are wrong It's lin the first line.
    2) it won't load the large image to be viewed on my web page
    3) some of the line are looing for flasf and some are looking for adobe flash which seems to creat another problem keeping them from not working
    I use a MAc computer

    OK, that's much better. This looks like an odd error that has been seen with some types of server configuration. I can't recall exactly what caused it, but I think you could get round it by not including a logo.
    Take a look at http://www.bluefire.tv/blog/FlashGalleries/headerfix.html and other postings on that blog. These guys designed the Flash galleries for Adobe. Also search back in this forum and in the LR forum at Luminous Landscape. It has definitely been discussed - look out for postings by Micah Bowers who is part of Bluefire. Hope this helps.
    John

  • Web page not working for vi when launched from testsetand

    we've setup a web page for a vi in labview (web publishing tool) and its visible in IE until you close labview
    this vi is then run from teststand thou the web page isnt being updated?
    we need to be able to view the contents of the vi remotely

    Hi,
    Would it be possible for you to upload either the programs that demonstrate this (if not too large) or quickly create a program and run instructions in order to replicate this behaviour here? Also which versions of TestStand and LabVIEW are you running?
    Once I have this extra information and code I will replicate the issue here and look into it further for you,
    All the best,
    Applications Engineer

  • Recovery media kit order web page not working for Canada site

    The laptop crashed (Pavilion G6-2288ca with Windows 8). I'm planning to replace the hard drive. I want to order the recovery media kits from hp but the Canada site is not working. After I entered the postal code, the site says it is temperarily out of service. I tried the same on the US site with a pretended zipcode and it worked fine. Can someone please help?
    Thanks.

    Try phoning HP Support. 1-800-474-6836
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Web page not working.

    HI Im new to the forum. I have had a web site for about 2 years and for the first time I have had a problem with my web page. I can publish when done adding picture etc but when I go to look at the web site it is not there. Here is what I thought all along is my web address but I am not so sure anymore.
    http://web.mac.com/yiotta55/sljewelrydesign/WELCOME_.html
    I also tried web.mac.com/yiotta55 and nothing. Im pretty bad at this kind of stuff and am hoping that someone can give me a hand and tell me what to do?
    Thanks so much

    What's not there, the picture or the site? If it's just the picture then clear your browser's cache files and then reload the site. The both links you gave loaded OK for me, Simple Brass Tools for the Glass Artist.
    Give the cache cleaning a try.
    OT

  • Chat Support web page not working

    Can anybody tell me when it is expected that the chat support page for smart storage / small business warranty support will be fixed.
    https://supportforums.cisco.com/community/netpro/small-business/sbproductwarranty It broke about 2 - 3 weeks ago and whilst I am being told that it does operate if you have Firefox or Chrome Internet Explorer 9 is not supported!     The second drop down list is non functioning.
    I find this unbelievable. I thought that IE was the most used browser (I appreciate some people do not like it) and the fact that Cisco have not accommodated this product when supposedly designing their support web pages worries me, as I use IE and have just purchased some Cisco hardware / software.
    Kriss

    Dear Cindy
    Thank you for your reply. But I think the issue is related to software, as I feel that the web page support provided by Cisco, is part of the overall package which I purchased.  In unrelated areas I have also had to turn on compatibility view in IE9 to gain correct access to elements of the hardware of my CISCO product, therefore the hardware has also been indirectly affected.
    Surely the new support web page was tested prior to going live?  cant you put the old page back until you sort this out? I appreciate these are simplistic statements but you can see my point of view.
    My original question is how long will it take to put right the defect in the support web pages?. 
    Kind Regards
    Kriss

  • Why does Create PDF from Web Page not work with certain URLs?

    I'm creating a large number of PDFs from Web Pages on Adobe Acrobat XI Pro and occasionally come across certain URLs that fail to generate a web page.  The process begins as normal but eventually the status window lists a few errors or canceled processes and that there are now 0 Connections Active.  This only occurs for certain URLs, but when it happens it consistently fails for that URL (as in trying it a few mroe times doesn't let it work).  Is there any specific reason this happens or a way I can prevent it?  The above example is of a URL that fails to generate a PDF :
    http://www.pcmag.com/encyclopedia_term/0,1237,t=access+point&i=37393,00.asp

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Software Update web page not working

    For several days I can't access the "device software update" web page. I click on Get Started with the intention to download the NSU but the page is contentless.
    Is anyone experiencing such an issue? Any suggestions?
    Solved!
    Go to Solution.

    Hi pepelyankov
    There is no problem at time of post with download here:
    http://europe.nokia.com/A4579163
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Sending a web page not working

    I usually send web pages as a link only, but this time i want to send the whole page. I know the Mac can do this, because I've done it before. Now, when I try to sent the web page with "Send Web Content As: Web Page" selected, I get the endless spinning gear with "Loading..." next to it. What's up?

    This is more serious than I thought.
    I tried to restart Mail to see if it would fix things, and got this:
    And, there are 2 Mail icons in the Dock, neither of which will do anything:

  • Cisco asdm web page not working

    yes i have 

    hello,
    i have a cisco ASA 5505 with os version 8.4(5) and asdm 7.1(1)52.
    i do enable http server.
    i luch asdm image
    i checked if the http port is open (it is)
    but i can't acces the web page of asdm.
    any suggestions?
    thank you
    This topic first appeared in the Spiceworks Community

  • Edit page not working in SharePoint 2013

    Hi All,
    I was trying to insert an Embed Code on a SharePoint 2013 Main Page and after that all my web parts disappear and when I try to edit the page nothing happens, I click on Edit Button or try through the little gear and Edit page and nothing happens, but if
    I try a different site it works.. Any thoughts? or How can I remove the wrong code?
    Thank you,

    I have noticed this in new SP2013 EE deployments.
    I believe that this is a bug in the application that Microsoft needs to address.
    However, for now, there are some workarounds.
    1. I would attempt to remove the embedded code.  It is much easier than using Designer as suggested in other posts though.  You pasted the code into the web part, so you really have two options...
    1) edit the web part by going to "Page" and "Check Out", now the Edit will work again.  Odd, like I said, I see this as a bug.
    2) You can go to "Page", select "Edit Properties" and then scroll ALL the way down to the bottom, and select "Open Web Part Page in maintenance view".  Then select and delete the malicious web part. 
    Remember "Check Out" is the key.  If the page is working properly, clicking "Edit" will automatically "Check Out" the page.  I believe this is an error in the JavaScript on the page (i.e. Microsoft bug that needs fixing).

  • Office Web Apps not working externally SharePoint 2013

    In the production farm we have connected office web apps server which is FQDN server name ( xxx.xxx.corp.local) , we can open the sites internally without any issues, but when we open from externally office web apps asking for authentication and not working
    properly.
    Please help me how to make it work  in external. 
    Thanks, Ram Ch

    You will need a public facing URL or IP address. Check below
    You need to configure your OWA for internet
    New-OfficeWebAppsFarm –InternalUrl "md1xxx95.jdaxx.corp.local" -ExternalUrl "http://198.xxx.xxx.xxx" -EditingEnabled
    Set-SPWOPIZone –zone
    “external-http”
    Detailed steps in
    http://social.technet.microsoft.com/wiki/contents/articles/19039.sharepoint-2013-how-to-enable-office-web-apps-to-work-in-both-internal-and-external-environments.aspx
    Set-SPWOPIZone –zone “external-http”
    Set-SPWOPIZone –zone “external-http”
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for