Zum Hauptinhalt gehen

Question About Feature Links

Kommentare

10 Kommentare

  • Permanently deleted user

    Curtis,

    You might try something like DateTime.Now.ToString("mmddyy")

    0
  • Permanently deleted user

    Can something like this (DateTime.Now.ToString("mmddyy") be done in a viewer xml file?

    0
  • Permanently deleted user

    I have another question about this.  Can this be done using the Visual Studio Quickstart project?

    0
  • Permanently deleted user

    Curtis,

    Sorry, I don't use Visual Studio much.  And further, it doesn't look like it is supported in Feature Hyperlinks.  It looks like it is going to Cold Fusion (re.cfm) - is it a site you have control over?  Seems like it might make sense to create another .cfm that would do the calculation if you do...

    0
  • Permanently deleted user

    We don't have any control over the site.

    0
  • Jeff Siemens

    It seems odd to me that you have a server resource that expects to find the current date.  Doesn't it know the date?  The whole point of parameters is variability.  If it's expecting a certain parameter to have a certain value, then why is it a parameter?

    Notwithstanding that, you could create a server resource that does the redirection for you.  For example, a PHP page, JSP, ASP, Cold Fusion etc.  The idea would be to take the one parameter that you know, and append the m parameter using the current date (or whatever date you want).  

    Jeff

    0
  • Permanently deleted user

    Jeff,

    Could this also be done using a workflow?

    0
  • Permanently deleted user

    Jeff, I don't know for sure but I think the date parameter is suppose to provide security or prevent hacking.  The account id comes from the map layer so we are good there.  The account id is an id for parcels.  If you go to the main url - (http://www.tad.org) www.tad.org - you can actually do a search by id and find the parcel you are looking for.  Rather than have the user go to the main page, we wanted to send them directly to the parcel information.  We talked to the folks that maintain the web site and they gave us the url formula to go directly to the parcel information. 

    0
  • Permanently deleted user

    Looking at the Quickstart project I think I can get this done.  I can get to the FeatureHyperLink property using the Geocortex.Essentials.Client.FeatureHyperLink class.  My question is which event do I check?  I need to update the link when the user selects the 'View Additional Details' link on the information box.

    /customer/servlet/servlet.FileDownload?file=00P6000000e881IEAQ

     

    0
  • Permanently deleted user

    I was able to get this working.  Thanks for all replies.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.