Problem via the loader of web application deployment

I can't load my application to a device that uses the charger of the web.  I have implemented the example hello world application and that works, but when I try to change the references to my project it hangs on loading screen, or says "error downloading file. Check your Internet connection and try again. "I tried to load my app via Blackberry Desktop Manager by using the files thus .alx file but it says"there was an error importing files.  None of the additional applications are... "I can debug on the device with Eclipse and the app is loaded correctly.  Anyone have any ideas?

Some possible questions:

-Your COD file is an aggregate - that is, she has several embedded in COD. and rename the extension ZIP, unpack and deploy individual COD files.

-You have a mismatch between the level of the compiler version and the BONES of the device target.

Tags: BlackBerry Developers

Similar Questions

  • Problems with the help of web camera, it shows it programs and on the desktop. But when I double click on it. It will go to the program do not know what to do. Help, please. Thank you.

    Having problems with the help of web camera program does not work when I click it. don't know what to do. Please help thanks.

    Hello

    Right click on the shortcut tab icon - properties - look on the target line to see where and what type of program
    is supposed to work.

    You will probably need to reload the drivers of the device and any camera control software.

    Login as an administrator.

    Double-click Control Panel / Device Manager - Imaging - writing down of the brand and model of camera.
    on this subject and on the tab of the driver is version. Now, click on update drivers (who are unable to do anything as MS
    is far behind the pilots of certification). RIGHT click on the camera - UNINSTALL - REBOOT - it
    will update the driver stack.

    Now, go to the system manufacturer's website and download the latest driver for the camera and the other related camera
    software (if not more recent get the same).

    Download - SAVE - go to them and RIGHT CLICK - RUN AS ADMIN - reboot after each driver.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Then let windows updates on however prevent loading of drivers who are often older than the
    those that you have installed. If updates suggests a pilot and then HIDE it and watch manually to see if their
    really is a more recent version (at the time system manufacturer and the sites of the manufacturer of the device).

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Product filters of the building with Web applications

    I'm currently building product in my catalog page filters, but I'm stumped as to how to do it.

    I had read that it must be done through the Web Apps, but I can't figure out how. From what I understand, I have to add each product to the Web application. That would be nice, but that would mean having to add each product twice, once to the Web application and once to the product database? Is this fair?

    The filter options, I need is a drop down menu for product scale, a scroll of the brands of products checklist, a slider for product prices and list the product color.

    It seems very little information with practical examples on the operation of Web applications and how to create them.

    OK, you're on the right track. A few note however:

    1. replace:
    {module_data resource="products" version="v3" fields="custom3" skip="0" limit="10" where="\{'custom2':'1:10'\}" order="id" collection="myData"}
    

    with

    {module_data resource="products" version="v3" fields="custom2, name" skip="0" limit="10" where="\{'custom2':'{{globals.get.scale}}'\}" order="id" collection="myData"}
    

    This way module_data will get the real value of the query in the URL param, so mysite.com? scale scale1 = and mysite.com? scale scale2 = will make things different.

    When generating the snippet module_data do not forget to include all the fields you will use, including the product name, custom fields, the URL and so on. module_data returns only the fields that you specify.

    API calls can be used in the front-end servers, you need not the snippet ajax for this application.

    I highly recommend passing by the messages filtered by the author and tag -even if it's on blogs, the approach is similar to what you need, the only difference is the resource module_data returns (rather than products blog posts).

    Hope this helps,

    Mihai

  • How to restrict access to the service web application deployed on weblogic for user group only

    I built the web service application in jdevelopler 11.1.1.7. Their security policy applied in the web service of the default Oracle policy which is (policy: Wssp1.2 - 2007-Https-UsernameToken - Plain.xml)

    Now all want to access the web service application must provide the name of user and password in the header section of the SOAP request to meet the requirement of the policy.

    the following steps I'm trying to restrict access to the application of web service with a specific group of users among users of weblogic:

    Connect to the weblogic administration console

    Create user or group of users

    Click on the links of deployments

    Select your web service

    Click the Security tab

    Click the sub-tab political

    Choose your authorization provider in the menu drop-down (looks like by default)

    Choose Add Conditions-> Group-> Type in the name of the Group

    Finishing

    But access is always available for all weblogic users (IE users not in the group specified in the above security configuration). How can I restrict access to only authorized group? Any thing lacking in my approach?

    There is nothing wrong with the steps mentioned in the question. In addition, you must do the following

    At the time of the application deployment with regard to the security part, there is a list in the title of the question (which security template you want to use with this application?)

    You must select (Advanced: use a custom template that you have configured on the page of configuration of the Kingdom) a configuration mentioned in the question will be work

  • page apex_admin not display for the runtime environment and application deployment using command-line

    Hello

    I installed APEX 4.2.6 EPG on Windows 7 Professional (32 bit) with Intel Core i3 processor.  Oracle XE 11.2 Win-32 DB.

    All the installation steps followed according to the Installation guide for the Apex.  It is a fresh and new installation.

    img1.png

    Install the log shows below -.

    Thank you for the installation of Oracle Application Express.

    Oracle Application Express is installed in the APEX_040200 schema.

    SQL > SELECT DBMS_XDB. GETHTTPPORT FROM DUAL;

    GETHTTPPORT

    -----------

           8082

    I did only the installation of runtime using apxrtins.

    ' Step ' grant of privileges of connection "according to the document was smooth without any problems.

    SQL > ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 scope = both;

    Modified system.

    SQL > ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE = BOTH;

    Modified system.

       

    I played "Creating a workspace manually" and met above question.  For installation of runtime, is this unnecessary step?  Or any other step I'm missing?  Help, please.

    Thank you and best regards,

    -Anand

    Hi Anand,

    anand_gp wrote:

    All the steps I did in my development environment and no problem following the steps.  And there is no question of the problem of the EPG or a bad image of loading because the other workspaces and applications out there are working well.  My question was, when I tried to copy an application via command line in an another 'new space and work with some new application ID', wheather my steps were correct?  If so, then why does not using the URL of the application.  And since it is in full flight development environment, where other workspace / applications work fine, how to connect to the new workspace I created using the command line?  If you look at my steps, I did provide any user name and password associated with this workspace all in creation.  When all this is going very well, so I will try in my new machine that has only run-time environment.

    Thank you

    -Anand

    I think you missed the validation part. You're going to make after the installation of the application as well as the addition of workspace

    commit;

    Hope that solves your problem.

    Kind regards

    Jitendra

  • Is this normal duplicate planning entered appear in Weblogic after a web application deployment?

    Hi all

    I am currently installing Hyperion Planning more v11.1.2.3.00 on 3 different servers of MS Windows 2008 Server R2 (x 64) (that is to say, HYP01, HYP02 and HYP03) in a mode of Standard deployment typical, as follows:

    -HYP01 Server: Essbase;

    -HYP02 server: planning;

    -HYP03 server: Foundation (IE, SSP, workspace), EPMA, Manager of calculation, financial reports, Reporting and analytical framework, analysis Web, Essbase Administration Services, Essbase Studio, WebLogic Server, Oracle HTTP Server.

    as noted in Chapter 1 of the Standard EMP Deployment Guide.

    I followed the steps to install Planning on HYP02 and then noticed that he appeared in the administration console (installed on HYP03) WebLogic as "Planning0" (see attachment 20141210-MJ-ORA - OWLServerStatus_BeforeHPDeployment.jpg) running on the server HYP02. I was able to access the login page of planning, but due to some problems with the workspace, I was not able to verify whether the planning was available in the workspace (it's a question I've been working with Oracle's Support staff).

    After the launch of the EPM on the HYP03 system configurator, I noticed that he had picked up this planning remained to be deployed... so I have authorized its deployment. At the end of this step, I restarted all servers and access the WebLogic administration console again. That's when I noticed that there is now an entry for 'Planning0' and 'Planning of the depenses1' (see attached 20141210-MJ-ORA - OWLServerStatus_AfterHPDeployment.jpg), showing that 'Planning0' was no mention of a server it was running on when 'Planning of the depenses1' will run on the server HYP03 (IE, not the HYP02).

    Without being able to access the workspace again (I'm working on the resolution of a recurring problem with the Support of Oracle), I would like to know the following:

    1 - is normal\advisable to 'Planning0' and 'Planning of the depenses1' appear in the WebLogic administration console?

    2. If it is normal\advisable, how can I remove\delete 'Planning of the depenses1' of the WebLogic administration console? The removal\deletion will cause problems with my installation?

    Any other advice\pointers would be much appreciated.

    Thanks in advance.

    JBM

    If you intend to deploy to both HYP03 and HYP02, then that is what you did and stick with it, if you only intend to be deployed to HYP02, then you need to change the configuration.

    I don't know why you think that all EMP products are now highly available as it seems only that planning is such that it has been deployed on two servers, what Essbase and other web applications?

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Unable to start the EMP - Java Web Application Server

    Hello

    I installed and configured EMP 11.1.2.3 version without any problems. But I am not able to start the server from the EMP HyS9EPMServer_epmsystem1 (squeegee Hyperion EPM Server - Java Web Application (epmsystem1)). I am getting below error messages in the log file. Please can you help me solve this problem.

    < 13 November 2014 18:26:06 IST > < Info > < security > < BEA-090905 > < disabling CryptoJ JCE provider auto-intégrité for better startup performance. To allow this control, enter - Dweblogic.security.allowCryptoJDefaultJCEVerification = true >

    < 13 November 2014 18:26:07 IST > < Info > < security > < BEA-090906 > < change the default Random Number Generator in RSA CryptoJ of ECDRBG to FIPS186PRNG. To disable this change, specify - Dweblogic.security.allowCryptoJDefaultPRNG = true >

    < 13 November 2014 18:26:07 IST > < opinion > < WebLogicServer > < BEA-000395 > < according to the contents of the extensions added at the end of the classpath directory:

    C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\audit-client.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\css.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\ctg_custom.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\ldapbp.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\opencsv-1.8.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\registry-API.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\sipactivator.jar; C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\wlpool.jar >

    < 13 November 2014 18:26:07 IST > < Info > < Server > < BEA-002647 > < plugin service, com.oracle.core.sip.activator, has been added to C:\Oracle\Middleware\user_projects\domains\EPMSystem\lib\sipactivator.jar. >

    < 13 November 2014 18:26:07 IST > < Info > < WebLogicServer > < BEA-000377 > < start WebLogic Server with Oracle JRockit (R) Version R28.2.5-50-153520-1.6.0_37-20121220-0844-windows-x86_64 of Oracle Corporation >

    < 13 November 2014 18:26:11 IST > < Info > < management > < BEA-141107 > < Version: WebLogic Server 10.3.6.0 Mar 15 Nov 08:52:36 PST 1441050 2011 >

    < 13 November 2014 18:26:14 IST > < critical > < WebLogicServer > < BEA-000362 > < server failed. Reason: [management: 141266] failed to parse in the config.xml file: java.lang.AssertionError: java.lang.ClassNotFoundException: com.bea.wcp.sip.management.descriptor.beans.SipServerBean >

    < 13 November 2014 18:26:14 IST > < opinion > < WebLogicServer > < BEA-000365 > < changed failed State Server >

    < 13 November 2014 18:26:14 IST > < error > < WebLogicServer > < BEA-000383 > < is not an essential service. The server will shut down >

    < 13 November 2014 18:26:14 IST > < opinion > < WebLogicServer > < BEA-000365 > < server status changed to FORCE_SHUTTING_DOWN >

    Thank you

    Michel K




    deployment succeeded... Reinstall and reconfigure or redeploy.


    Concerning

  • How to load a web application complete on a blackberry app

    Now, I try to build a blckberry application that allows to load the web application from its url. something like the fact of any browser. but I don't want to address or file menu bar. just a simple browser like app

    As long as you control the sources, it is possible using a stub and OBVIOUS. MF

    Basically, you have a 'app 'heel the heel app is basically a charger / launcher for something else.

    for example, you could have a selection of web applications on a server that are frequently updated. The downloads of the most recent list and you stub app allows you to get / launch other applications

    If you have already downloaded one of the spear Launcher apps, otherwise he can get and then launch

    Learn about the MANIFESTO. MF because it is the vital part of making something like this work

    Note that you need to dynamically create the MANIFEST. MF on the fly by user

    It is essential

  • How to add jsession ID to an ADF web application deployed in weblogic server?

    Hello

    I use jdeveloper 11.1.2.4 version. Can anyone tell please how to add custom JSESSIONID (BLTSESSIONID) to the URL of the web application ADF that must be deployed in weblogic server. I tried the following approach. but it did not work for me.

    in webogic.xml, I added

    < session descriptor - >

    < name > BLTSESSIONID < / cookie-name >

    < / session descriptor >

    However, I've added the weblogic.xml manually from the gallery.

    Could someone help me on this please?

    Thank you

    You don't have to add the session ID to the URL. The Web application automatically manages session IDS. By default, it uses an HTTP cookie (a cookie with name JSESSIONID) therefor. The Web application will automatically add it to the URL only if it detects that the client browser does not support cookies (for example, if the user has disabled cookies in the browser). By adding the lines above to weblogic.xml you just changed the name of cookie JSESSIONID to BLTSESSIONID default session. This is useful only if you have access to a couple of different Web applications from one and the same server and you want every application to maintain a clean session (for example, each application having a different session cookie name). If all applications on the server use one and same name cookie (JSESSIONID for example) and you have access to more than one application at the same time in one and the same browser (and even multiple instances of the browser, with the exception of some special cases), you will not be able to work with these applications correctly because the next access to another application will replace the cookie and you will lose the session to the requests earlier. Because HTTP cookies are maintained at the level of server name, it's not at the level of application root. In this case, you must specify the application names specific cookie (what you did above).

    Dimitar

  • Problem with the loading of XML and xmlns

    I'm having a problem with loading an XML file that was created by Filemaker.  FileMaker will display an XML file by using one of two different grammars.  A poster of a standard form for the most that I can use with a glitch.  Flash CS4 AS3 seems to have a problem with the xmlns in one of the nodes.

    More precisely:

    " < FMPDSORESULT xmlns =" http://www.FileMaker.com/fmpdsoresult "> "

    ' If I remove the xmlns = " http://www.FileMaker.com/fmpdsoresult 'the file is loaded properly and I can access the different fields without problem.  However, when I go the xmlns =..., it will trace the XML properly but I can't access the fields by using the code below.  It drives me crazy!

    With part xmlns in the XML file, I get the following error when attempting to load the thumbnails files:

    TypeError: Error #1010: a term is undefined and has no properties.

    I need it so that the user can enter/change the data and simply output the XML file of Filemaker and then the Flash load the XML file not corrupted and displays the information requested by the user.  That is to say I might have the user open the XML file in a word processing application and have remove them the xmlns..., but it is rather heavy and not very user-friendly.

    I tried all the xml.ignore functions I could find, but it does not help.  I hope someone out there can help you

    Thank you

    -Brand-

    _____________________________________________________________________________________

    Partial XML:

    XML to export Filemaker:

    <? XML version = "1.0" encoding = "UTF-8"? >
    <! - this grammar has been deprecated - use the FMPXMLRESULT instead.
    " < FMPDSORESULT xmlns =" http://www.FileMaker.com/fmpdsoresult "> "
    < ERRORCODE > 0 < / ERRORCODE >
    Sport.FP7 < DATABASE > < / DATA >
    < LAYOUT > < / PAGE layout >
    < LINE MODID = '1' RECORDID = "1" >
    Brand of < FirstName > < / name >
    Fowle < name > < / LastName >
    Veil of < sport > < / Sport >
    Medal of <>no < / medal >
    Design of < CourseOfStudy > < / CourseOfStudy >
    < year > 1976-1978 < / year >
    California < HomeState > < / HomeState >
    < ImageName > 93 < / ImageName >
    < / ROW >

    ...

    < / FMPDSORESULT >

    __________________________________________________________________________________

    AS3 code:

    Import fl.containers.UILoader;
    var aPhoto: Array = new Array(ldPhoto_0,ldPhoto_1,ldPhoto_2,ldPhoto_3,ldPhoto_4,ldPhoto_5);
    var toSet:int = 10; time to time delay
    var toTime:int = place;
    var photoPerPage:int = 6;
    var fromPos:int = photoPerPage;
    var imgNum:Number;

    var subjectURL:URLRequest = new URLRequest ("testData_FM8.xml");
    var subjectURL:URLRequest = new URLRequest ("Sports.xml");
    var xmlLoader:URLLoader = new URLLoader (subjectURL);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    var subjectXML:XML = new XML();
    subjectXML.ignoreWhitespace = true;
    subjectXML.ignoreComments = true;
    subjectXML.ignoreProcessingInstructions = true;

    function xmlLoaded(evt:Event):void {}
    subjectXML = XML (xmlLoader.data);

    If {(root.loaderInfo.bytesTotal is root.loaderInfo.bytesLoaded)
    removeEventListener (Event.ENTER_FRAME, xmlLoaded);
    trace ("data XML file loaded");
    trace (subjectXML);
    } else {}
    trace ("file not found");
    }
    imgNum=2;//subjectXML.ROW.length;
    trace (subjectXML);
    loadThumb (0);
    }
    function loadThumb(startPos:int):void {}
    var count:Number = aPhoto.length;
    trace (subjectXML.Database);
    for (var i = 0; i < count; i ++) {}
    try {}
    aPhoto[i].source="images/"+subjectXML.ROW[startPos+i]. ImageName + "_main.jpg";
    } catch (error) {}
    trace (e);
    }
    aPhoto [i] .mouseChildren = false;
    aPhoto [i] .addEventListener (MouseEvent.MOUSE_DOWN, onThumbClick);
    }
    trace ("current mem:" + System.totalMemory);
    ldAttract.visible = false;

    }
    function unloadThumb (): void {}
    var count:Number = aPhoto.length;
    for (var i = 0; i < count; i ++) {}
    aPhoto [i] .unload ();
    aPhoto [i] .removeEventListener (MouseEvent.MOUSE_DOWN, onThumbClick);
    }
    trace ("current mem:" + System.totalMemory);

    }

    function onThumbClick(evt:MouseEvent) {}
    var i: Number;
    trace ("Thumbnail clicked" + evt.target.name);
    i = findPos (evt. Target.Name);
    ldLrgPhoto.source="images/"+subjectXML.ROW[i+fromPos]. LOCAL_OBJECT_ID + "_main.jpg";
    ldLrgPhoto.visible = true;
    btnPrev.visible = false;
    btnNext.visible = false;

    gotoAndStop ("showPhoto");
    }
    function findPos(thumb:String):Number {}
    var pos:Number;
    var count:Number = aPhoto.length;
    for (var i: Number = 0; i < count; i ++) {}
    If (thumb == aPhoto [i] .name) {}
    POS = i;
    }
    }
    return pos;
    }

    Mark,

    The ':' is what we call a scope resolution operator. Using namespace allows you to potentially have two or more nodes that have the same name but a namespace 'different '. "These are normally specified in xml in the form xmlns:mynamespace ="http://myuniqueURI.com/etc"

    Normally, you would use the mynamespace:node by naming your xml nodes that are specific to this namespace.

    But the best is that namespace by default, when there is no real Prefixeespacenom: in the name of node as:

    That's how it is specified in your xml file, that is to say all the nodes without a prefix belong to the filemaker namespace.

    In actionscript, you navigate by using the scope-resolution operator and the variable that represents the namespace does not necessarily resemble the part "mynamespace" above. In your case the namespace used was the one by default (no), but a value has been assigned.

    To the question of the length, you must use the length() method, otherwise the e4x filtering seeks nodes named 'length' and creating a XMLList with no entry in there (because it's not). It is a common thing with other "Properties" that are expressed in the form of methods like children() and often take me when I started with the model XML as3.

  • Problem with the LG Media Center application

    Hello.
    Sory my English is not very good.

    I have the problem with my LG JM53 8 GB MP4 Player software on my Toshiba laptop L10-192. I canoe convert video files with application included on behalf of LG Media Center: convert the Format. This application does not correct it hang and turns off without reason. I try a lot of things like upgrading drivers widdows but nothings helping. I have windows XP Home SP2, and I thought that's the problem with windows and I activate return of restore cd provided with the laptop to have pure system - but this help too aplication hang again :( He sims as aplication or drivers have some conflicts? Can someone help me? or told me for is to turn this problem? The LG service people do answer my questions.

    Greetings
    Maciej F.

    Hello Maciej

    Problem is that if you use a third party software in case of problems you have to ask the help of the software publisher. I can imagine that LG don t answer and perhaps that they don't deal with simple queries.

    If no one can help you here check it please if you can find some support page or the FAQ section if exist. By the way: you'll be very happy if someone uses the same software.

  • Problem of the blackBerry Smartphones switching Applications

    Hi all.  I am new to BB in general... but I can say that I wonder why it took me so long to convert!

    Here's my problem... When you press and hold the menu button, it gives you the opportunity to switch applications (home page, Messenger, phone, messages, application Center, browser, etc.).  Well all links put me to the proper place, except the center application.  When I select it, nothing happens.  The "application switching" screen disappears and I go to fullscreen I was looking at previously.  I just want that he take me to the center of the Application when selecting it.  Please help and thanks in advance!

    Note: I tried already to take out the battery and it does not solve the problem.

    OK, I got the problem!  It is not at all a difficult solution, and apparently, many users have this same problem

    Go to the center of the Application, press the Menu key and uncheck the box/deselect 'Auto Refresh List'.  Second, you must remove the battery while the phone is still on and keep it removed for 30 seconds.  Turn back on him and Viola... it will be deleted.  Make sure that the list of auto-refresh is always disabled in the Application Center.

    I guess that the reason why it didn't disappear is in the first place because of the automatic refresh running in background.  But when the setting is deselected, just restart the phone will not remove it.  The battery had to be removed for the phone to restart completely.

  • Need help to unlock the user account HR in the example (rich Web Applications with Oracle ADF development)

    I am very new to Java development and have tried to launch the sample application (Development of Web Applications with Oracle ADF rich) in the start-up, the author of this app has advised developers to unlock the HR user account.

    What I did to connect to Oracle as user = system/password = system and running this SQL command 'ALTER USER HR IDENTIFIED BY NewPwd ACCOUNT UNLOCK"in Sqlplus and with a return code 2.

    Don't code 2: success or failure?

    However, the HR user is always unlocked after issuing this command, and can someone please tell me what I'm doing wrong?

    Thank you.

    Timo,

    Thanks for confirming. The essential difference is that the command must be run as

    SYS AS SYSDBA

    instead of such as SYSTEM

  • Allow the user to change the items in web application that they have not submitted

    Is there a way to allow a user to change/remove the elements of web app that they have not submitted?

    I did more than 400 pieces for the user via a .csv spreadsheet. I want the user to be able to change or remove these via an editing page of web app, I'll set up, but because I downloaded the .csv file, apparently, that another user cannot do this.

    At present, the only way that I know that this is so by the user submitting each element individually.

    Anyone know of a way to attribute everything to this user as if what he presented to them? Perhaps via the .csv file?

    Yes. In admin, you can change each element of WebApp to be attributed to a customer with the "presented by" in the section 'other Options '.

    You can also import/export this value, but in the CSV file, it is labeled as 'EntityId' - and you must use the system ID/ID of the entity of the client here.

    Otherwise, to allow anyone (who is connected) to change any element of WebApp, you must change the setting in the configuration of this WebApp by checking the option "anyone can edit items.

  • Expiration date of the submitted client Web application

    I have a submissive client web app I need set the expiration date to the 15th or last day of the month, whichever is closest to you. So, it a web application of pay where the employee submits their hours and we want to show once the item now time to cut payroll, which is twice a month, the 15th and the last of the month and is always the one which is the next day. Is their some javascript or liquid I can tell from the date of such and such a date, if it is first?

    My second question I want to ask here is on a time field. If I use datetime, it shows just a calendar and all play with the input field seems to not work to make where they choose a time. If I change the field to a string, then set it as a time, the field is not entered.

    Third question, I am know liquid and love it. I know it can be done with the liquid, but still how it works to make the filling of liquid in the value of a field. For in and out time, I have a third field that is pretty much a sum of total time. I need the total of the time difference between the check-in and check out field and put in the field of the sum. What is the best way to write this liquid calculation? I know JavaScript, but feel that this can be done with easy liquid also. Suggestions or comments?

    Best regards

    Sarah Mullin

    Hello

    I don't think that there is an out of the box solution to find the last day of the month, however, build a hard coded relationship between the number of days and months is pretty easy to do, here's an example of code that I put in place for your particular case. It may be more polite of course (for example, in a few years that February has 29 days):

    {% assign day = Globals.Site.DateNow | date: '%d': convert: "string" %}}

    {assign % per month = Globals.Site.DateNow | date: "%M" | convert: "string" %}}

    {% assign year = Globals.Site.DateNow | date: "yyyy" | convert: "string" %}}

    {% assign middle_date = year | append: '-' | append: month | append: '-' | append: "18" | convert: % 'date'}

    {% If Globals.Site.DateNow > middle_date %}}

    Date in the past, the date you want to define is the 15 - th, which is {{middle_date}}

    {% other %}

    {% assign myDate = Globals.Site.DateNow | date: % 'MMM'}

    In the future, the date you need is the last day of {{myDate}}, which is

    {% If myDate}

    {% When 'Jan'-%} 31

    {% When 'Feb'-%} 28

    {% When 'Mar'-%} 31

    {% When "Apr"-%} 30

    {% When 'May'-%} 31

    {% When "Jun"-%} 30

    {% When "Jul"-%} 31

    {% When "Aug"-%} 31

    {% When 'Sep'-%} 30

    {% When 'OCTS'-%} 31

    {% When 'Nov'-%} 30

    {% When 'Dec'-%} 31

    {% endcase}

    -{{month}} - {{year}}

    {% endif %}

    I hope this helps!

Maybe you are looking for