Customers subject weighting and expiration date of webapp

I build a sort of "community events" webapp for a customer - users will be able to submit an event - will be moderated or approved by the customer. I am stuck on two things...

They are both in the «Web app entry form»

I'm trying to set the expiration date for the day after the event - the only option seems to be never expire many days - I know I could write a small script that figures on the number of days between now and the event, add - it and insert it into the reference field days, but y at - it an easier way?

Secondly, when the webapp items are displayed on a page I need them to show the event which is closer to happening thanks to the event that is the furthest away - list by date will show by date of creation, which is not what I want. I was hoping to set the weight to the date of the event - IE 20121020 - for 20 October 2012 - but it is not an option for the weight on the «Web app entry form» Any thoughts?

See you soon

Pat

Hey Pat,

Regarding the first question - I'm afraid that the only way to set the expiration date is to add the current date X days, so calculate the number of days between the date you want the item expires, and the current time is the way to go here.

As for the second question, I am afraid that there is no 'easy' way around this, weight values can be assigned by the front-end server, so sorting is limited to the default options (date, datereverse, in alphabetical order and so on). Somehow, I'd see what happens is as follows

-define a layout that makes all the webapps

-using the js convert the date of the event in milliseconds and hide events that you do not want to display

There are a few potential performance issues with this approach, if you need to display a large number of elements (with photos, for example) the system will load everything every time and then hide those falling outside of the desired range.

A more complicated way to make elements specific webapp would be to create a 'light' layout list containing only the URL and scope of event date (this should load fairly quickly to the top) and then using ajax load only the necessary elements in the page. I advise you to use this approach in case you encounter performance problems caused by the 'detail' of the webapps load layout.

Hope this helps,

Mihai.

Tags: Business Catalyst

Similar Questions

  • Expiration date of webapps always set to never expire

    When I put an expiration date of section details webapps to 30 days and save.

    the expiry date is always 1-Jan-9999 when you add the article. The expiration date

    no default 30 days from today.

    Why?

    I'm making a few assumptions here as long as you have not given many details to work out, but the setting is for items submitted webapp front ends. It is not the effect on the introduction of the elements via the admin.

    Same as the setting default secure area or the classification of the elements, it's only related to the front-end, client submitted webapp points.

    Hope that answers your question.

  • Extract the expiration date of secured area to use for webapps

    Hi all

    Is it possible to extract the date of expiry of safe zone and use it to set the expiration date for webapps? I see that the expiry date of the zones can be retrieved through the e-mail section and not other places. Globals.User is out of expiry date.

    All I need is the number of days so that I can automatically update in the Webapp Set to expire in ___ days.

    The webapps unless automatically deletes itself when users are initiated out of secure areas?

    Try {{subscriptions.items [0] .expiryDate}}-items contains an array, you must specify which item you want to target.

    You must also consider the items array can contain several elements (if the currently logged-in user is subscribed to several secure areas).

    Hope this helps,

    Mihai

  • Version of the product and the Expiration Date

    I just created and imported a file of 1000 products product only to find out that I can't import a product release-date of expiration.

    I have to manually set a version and the date limit for each product?

    There is no work around?

    The catalog import file has release and expiration dates. What's more to ride the release and product expiration dates?

    Seems another limitation of ecommerce and inconsistency between the products and catalogs.

    Any ideas appreciated graciously

    Fraser

    Hi Fraser,.

    It is correct, you can set output/expiration for catalog import dates but not for products that will have to be applied manually at this stage.

    Kind regards

    -Sidney

  • Insertion of an expiration date in a table and have messages expire without breaking functionality

    I use Coldfusion 9,0,0,251028 on Windows 7 64 bit with a Microsoft Access 97 database.

    The code is for an application that supports a submitted message to a shape and publishes on a different page (breakingnews.cfm). Form of the values are inserted into the table 'news' on a database, including the date that the message was sent (mes_dat) as well as the date it should expire (exp_dat). 

    On the database, is_current and display columns have a default value of 0.

    The action of the form is new_process.cfm, which does two things:

    (1) does < cfset expdate = createdate (end_year, end_month, end_day) >.  End_year, end_month and end_day are the selectors to drop-down list which sets the expiration date.  A problem I've had is expdate cannot be inserted by post_breaking.cfm, but only when it is put online, on my local test server there seems to be no problem.

    (2) includes a model named 'post_breaking.cfm', which runs these queries:

    < name cfquery = "get_init_info" datasource = "#db #" >
    Select id
    News
    where is_current = 1
    < / cfquery >

    < name cfquery = "update_info_1" datasource = "#db #" >
    News Update
    Set is_current = 0, scrollshow = 0
    < / cfquery >


    < cfif get_init_info.recordcount NEQ 0 >


    < name cfquery = "update_info_2" datasource = "#db #" >
    News Update
    display value = 1
    where id = #get_init_info.id #.
    < / cfquery >

    < / cfif >


    < name cfquery = "put_in_info" datasource = "#db #" >
    Insert news
    (is_current, display, mes_dat, mes_tim, mes_sub, mes_text, scrollshow, exp_dat)
    values
    (1.0, #createodbcdate (now ()) # #createodbctime (now ()) # ' #subject # ', ' message # #', 1, #expdate #)
    < / cfquery >

    The message then appears on breakingnews.cfm if the is_current column on the news table is 1.  This is the code I inherited, so I don't know how it does, but the code allows only 5 messages both have is_current = 1.

    The part I'm trying to get moving is to have a query executes loading breakingnews.cfm which checks if the exp_dat is between now() and mes_dat to is_current value 1, while retaining only 5 items with a 1 is_current.

    When breakingnews.cfm is accessed, it executes these requests:

    < name cfquery = "get_info" datasource = "#db #" >
    Select *.
    News
    where
    < cfif not isdefined ("id") >
    is_current = 1
    < cfelse >
    ID = #id #.
    < / cfif >
    order of mes_dat /, mes_tim / / desc/desc
    < / cfquery >

    < name cfquery = "add_exp" datasource = "#db #" >
    News UPDATE
    SET is_current = 1
    WHERE now() BETWEEN mes_dat AND exp_dat
    < / cfquery >

    < name cfquery = "remove_exp" datasource = "#db #" >
    News UPDATE
    SET is_current = 0
    WHERE now() BETWEEN mes_dat AND exp_dat
    < / cfquery >

    This will cause messages that have an exp_dat between now() and mes_dat to be displayed and otherwise not display on breakingnews.cfm.

    However, when a new message is submitted, access to breakingnews.cfm the first time, only the newly submitted message.

    If the page is refreshed, the messages that have been filtered correctly will appear under the new message, but there are now six items to display on the page when there are only five.


    How can I get the exact amount of the messages and display the first time without needing a refresh?

    Google 'top n ms access query' and who will not be a problem.

  • Expiration date and time in SQL server 2008 Enterprise Edition

    Please tell me the exact expiration Date and time in SQL Server 2008 Enterprise, and 2008R2 edition?

    Please tell me the exact expiration Date and time in SQL Server 2008 Enterprise, and 2008R2 edition?

    Hello

    Please post this question in the SQL Server forum.

    Category of the SQL Server:

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

    Concerning

  • How to connect an expiration date in the ID and the password set cached?

    I have windows 2003 race. I would like to know if there is any kind of code and where it must be added have log vpn users in the local network before they user of the laptop to go on the web?

    In other words, how I plug in and the expiration date for the caching of id and password?

    I'm not sure that's what you want.  You can change your machine such as passwords are cached at all, but then a person could not connect to his laptop unless it is connected to your domain, when it connects (forget not to use your computer on a plane).  If you want to control access to the internet, many businesses use a Proxy Server with a password to regulate the internet connection.  See if these MS articles shall apply:

    "Caching of security credentials in Windows Server 2003, Windows XP, and in Windows 2000"
      <>http://support.Microsoft.com/kb/913485 >

    "Cached domain logon information.
      <>http://support.Microsoft.com/kb/172931 >

    HTH,
    JW

  • Is legal to use "slmgr-rearm" extend using period in Windows 7 Ultimate & may I re-install Win 7 and use it for 30 days after the expiration date (29 days)?

    Hello
    I live in Iran.
    Here access to the original windows is not easy.
    I have ultimate edition (eternity) win 7.
    He let me to use during 30 days three times use "slmgr-rearm" to extend the trial period.
    Hereby, I can use and update.
    I have two questions.
    1. is legal to use "slmgr-rearm" extend with period?
    2-may I have reinstall win 7 and use it for 30 days after the expiration date (29 days)?

    with speciall thank you

    original title: Reinstall windows 7 ultimate

    According to the software Microsoft Windows 7 license, you must activate Windows 7 within 30 days of installation.  You are not allowed to circumvent or bypass the product activation.  After 30 days, you must enter a genuine Windows 7 product key for the edition you have installed, or remove Windows 7 by reformatting the hard drive, on which it is installed.

    In addition, you must respect Export Basics.

  • I paid but expiration date pop-up message continuously. And I called the company, but never responded. Also chat service is not served. What can I do?

    I paid but expiration date pop-up message continuously. And I called the company, but never responded. Also chat service is not served. What can I do?

    Persevering, but make sure that you connect successfully...

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • I HAV been trying to update my expiration date of credit card for 3 months.  When I go to lelien for "Update payment Details" and edit the expiration date and &lt; click &gt; save, I get an error saying my address in invalid.  I have several chat sessions

    Can someone please help...  Suggestions, how can I overcome this problem, in which case my Adobe Creative cloud subscription will expire today due to and credit card.

    I tried to update my expiration date of credit card for 3 months.  When I go to the "Update payment Details" link and change the expiry date then < click > save, I get an error saying my invalid address.  I had several chat sessions with support, called support and logged a ticket with support and every time they tell me to go to a particular link to update my contact information.  I do and I get the same error...   "My coordinates are not valid."  Now I'm in the position where my creative cloud membership will expire today everything simply because the Adobe address validation do not think that my address is valid.

    I got 'Cat' sessions with the support,

    I made a phone call to the support and

    I logged a ticket with support.  I'm really trying to pay my subscription.  Support ticket No. 0216009991

    Whenever I have contact the support they gave me a link to the site where I supposedly can I enter my credit card details.

    Whenever I went on the link provided, I'd get the same error.  "My coordinates are not valid."

    What I checked on my address.

    1. I look out the window and the view I get is the same as it was yesterday and the day, and in fact several years ago.

    2. I go out in the street, Yes, the street sign says the name of my street

    3. I go to my mailbox and it does not say the number of my mailing address

    4. yes I get the email to the address registered with Adobe

    5. yes I received the email from adobe delivered to the address

    6. I get the address of Google, yes I can find it on Google

    7. I converted to use the satellite view Google maps

    8. Yes, it's my house, with the 12 solar panels on the roof

    9. Yes, that's my black car in the driveway

    10. I check my reviews for my address Board rate, Yes, this is the address that I recorded with Adobe

    11. Yes, I had this same address registered at Adobe for the past 3 years.  So far I have not had a problem with my address

    12. I work with a software company that actually uses the address of Google, under license validation, built-in in their application.  I used this software to check to see if my address is recognized as valid.  You guessed it is recognized as valid.

    I did check my credit card

    12. Yes, I have, every time checked the status of my credit card with the Bank

    a. the card is valid

    b. the card's not over it's credit limit

    c. the card is not due

    d. the address registered to my credit card with the Bank is the same address that I recorded with Adobe

    Since the last link Adobe support gave me two weeks ago, to change my credit card details, I was able to key a new credit card in the fields (Yes it's good that I was forced to get a new credit card only for Adobe!   If I am that everything would be fine.

    But wait...   The details I provided this link have not been updated on the Adobe site.  (So I check the link... I was scammed to get my card number?)

    After investigation of the link, I'm fairly confident of the link provided is a true link to Adobe.  www.adobe.com/go/Secure

    Did anyone else had this type of problem when you try to update the expiration date of a credit card?

    The question is about to have an impact on my ability to process pictures for my photography business, it affects my ability to earn an income.

    So you could say I'm getting angry some of the stuffing!

    In summary...  I knew that my credit card had a new expiration date and I tried to update the expiration 3 months 3 months.

    Simply because the use of the validation of addresses, Adobe, has a few flaws, I was not able to update this information.  So Adobe today will stop my subscription.

    As I said in previous support tickets, chat sessions and telephone.  I'll be more disappointed if I am prevented from using software and Adobe cloud features.

    It is copied from an email I received during the night from Adobe...

    Continue to create with us

    Hi Thomas,

    Your Creative cloud membership will expire on August 23, 2015 (PT). We hope that you have been getting the best out of all that creative cloud has to offer. To extend your subscription, please update the billing for your account information, or add a prepaid card.

    Update your billing information (there is a link to where I can update the expiry date) pocztek sigh...   I still get the same error telling me that my address is not valid!

    Thank you for being a part of the creative cloud,

    The creative team Cloud

    Good creative team...  I REALLY WANT TO STAY IN THE TEAM, AS YOU CAN SEE FROM THE FOREGOING, THAT I REALLY TRIED TO SOLVE THIS PROBLEM SEVERAL TIMES OVER THE PAST 3 MONTHS.

    I tried to include as much information as possible in what I said earlier, I expressed in a way that will hopefully provide a little humor, but at the same time to portray the frustration I'm feeling right now.

    Honestly, I don't know what more I can do.  It seems that I have no other recourse start litigation for loss of income coming from Adobe address Validation errors.  There is a real chance that I will be litigated against because I won't be able to complete contracts.

    There must be a healthier solution of mind that court proceedings.

    Kind regards

    Thomas Croll

    (Tom)

    Tom, let me some time. I I will get these verified case and will contact you.

  • Cannot change my billing information and change the expiration date of my credit card

    Hello, I try to change the expiration date of my credit card, but get an error message that my address is incorrect. The system gives me another address but with both I get an error message.

    After that I try to find https://helpx.adobe.com/nl/contact.html help to know that I can not connect on this site with my Adobe ID

    So how can he get a contact with someone at adobe?

    Hi Marc

    Refer to manage your creative cloud membership

    You can contact support Contact Customer Care

    Thank you

    Varun

  • How can I fix the problem of my HP Photosmart D7160 showing a message this cartridge has passed the expiration date?

    My HP Photosmart D7160 one shows message this cartridge has passed the expiration date.  I bought and installed the new cartridge but still same message.  I really need to print stuff.

    My HP Photosmart D7160 one shows message this cartridge has passed the expiration date.  I bought and installed the new cartridge but still same message.  I really need to print stuff.

    Contact HP?

  • expiration date of follow-up

    I'm trying to follow the expiry on various products and alert the user when an element has reached or passed the expiry date. So I want to allow the user to enter an expiration date for a product(mm/dd/yyyy) and then compare that to the date current (mm/dd/yyyy). I tried to come up with the logic that would work correctly and I have some difficulty to obtain a configuration that works for all the possible dates. Anyone know how to make this comparison correctly in LabVIEW?

    Hi Ryan,

    What about this little gem:

    Is this logical enough for you?

    What do you mean exactly by "every date possible?

  • How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    Go to your Bank and get a new card.

  • What is the expiration date of my HP 02 ink series

    I bought 6 cartridges of series 02 HP who are new not opened (but not in original box) off Ebay and I was told that they expire in two years.  How will I know, figures on these cartridges if they left 2 years?  Here are some of the numbers, if someone can tell me what they mean.  Thank you-

    HP CB283W product

    081105.00:51:33

    ID 0510 Y32 B

    HP CB279W product

    090911.18:27:18

    ID 0311 Y3 2G

    HP CB284W product

    081031.11:49:17

    ID 0410 Y32 C

    hayesa7173 wrote:

    I bought 6 cartridges of series 02 HP who are new not opened (but not in original box) off Ebay and I was told that they expire in two years.  How will I know, figures on these cartridges if they left 2 years?  Here are some of the numbers, if someone can tell me what they mean.  Thank you-

    HP CB283W product

    081105.00:51:33

    ID 0510 Y32 B

    The date is the 081105 which is the date of end of warranty in YYYYMMDD form as below.

    The date "install by" should normally be 6 months before the warranty expires date.  I do not see the specifications for the expiration of the 02 cartridge, but generally it is a function of when the cartridges are installed.  It would seem that the expiry is a maximum of 25 months from the installation date, but this can be reduced if the installation occurs after installation 'by date '.  I have a Photosmart 3210 here and all the cartridges have been installed before the expiration of the warranty, so I can't say my dates how would affect the expiry of the ink.  I have a few cartridges installed with expiration date approximately one year after the date of warranty.

Maybe you are looking for