This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
//チェックボックス変更時のイベント | |
kintone.events.on(["app.record.create.change.address_trans", "app.record.edit.change.address_trans"],function(event){ | |
var record = event.record; | |
var zipcode = record.zipcode.value; | |
//住所変換のチェック | |
if(record.address_trans.value == '住所変換'){ | |
//jQuery ajaxで同期処理 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub ボタン1_Click() | |
'-------------------------------------------------------------------- | |
' 変数定義 | |
'-------------------------------------------------------------------- | |
Dim objHttpReq As MSXML2.XMLHTTP ' XMLHTTP オブジェクト | |
Dim strJSON As String ' レスポンスで受け取るJSONデータ | |
Dim strURL As String ' アクセス先URL | |
Dim strQuery As String ' 検索文字列 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub ボタン2_Click() | |
' kintoneアクセス情報の設定 | |
subdomain = "" 'サブドメイン | |
authToken = "" '「ユーザID : パスワード」のbase64エンコードした文字列 | |
AppNo = "" 'kintoneアプリの番号 | |
'確認ダイアログ | |
Dim Ans As Integer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 20140813 kintone用javascript作成 | |
// 生年月日(日付フィールド)から、年齢を計算する | |
// 以下のサンプルコードだと、うるう年を考えていないので自作した | |
// https://cybozudev.zendesk.com/hc/ja/articles/202640900-%E7%B5%8C%E9%81%8E%E5%B9%B4%E6%95%B0%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B | |
(function() { | |
// 生年月日が入っているフィールドコード名 | |
const BIRTHDAY_FIELD_NAME = '生年月日'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// フォームからPOSTされたら表示する。 | |
if(!empty($_POST)){ | |
print_r($_POST); | |
} | |
// ファイルからJSONを読み込み | |
$json = file_get_contents("template.json"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 定数(全曲が入ったm3uファイル名・フォルダ毎のm3uを入れるフォルダのパス) | |
all_m3u_text_filepath=$(dirname $0)/all_m3u.txt | |
m3u_folder_fullpath=$(dirname $0)/m3u_list/ | |
# このシェルスクリプトのサブディレクトリ以下にある音楽ファイル(mp3, wma)のリストファイルを生成。 | |
find $(dirname $0) -name "*.mp3" -o -name "*.wma" | sort > "${all_m3u_text_filepath}" | |
# m3uファイルを入れるフォルダを生成(既にあったら削除) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
"use strict"; | |
// 関連レコードのフィールド名から、参照先アプリIDを取得する事も出来る。アプリテンプレート化するならコチラの関数を使う。 | |
var related = 18; //kintone.app.getRelatedRecordsTargetAppId('関連レコード一覧'); | |
// 「商品種別」と集計結果を出力するスペースの「要素ID名」を連想配列でセットする | |
var arrSumRelatedRecords = { | |
"商品種別A":"ItemKindA_sum", | |
"商品種別B":"ItemKindB_sum", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.h | |
// 寄生獣 | |
// | |
// Created by fddcddhdd on 2014/12/11. | |
// Copyright (c) 2014年 fddcddhdd. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import <CoreLocation/CoreLocation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// カテゴリーマスタ・アプリの情報 | |
var MASTER_CATEGORY_APP_NO = 1; | |
var MASTER_CATEGORY_QUERY = ' 有効フラグ in ("ON") '; | |
var MASTER_BIG_CATEGORY_NAME = '大カテゴリ'; | |
var MASTER_MIDDLE_CATEGORY_NAME = '中カテゴリ'; | |
var MASTER_SMALL_CATEGORY_NAME = '小カテゴリ'; | |
// プルダウンの値を格納するフィールド名(このJSを読み込んでいるアプリ) | |
var BIG_CATEGORY_NAME = '大'; | |
var MIDDLE_CATEGORY_NAME = '中'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="https://raw.githubusercontent.com/kintone/plugin-sdk/master/stylesheet/51-jp-default.css"> | |
</head> | |
<body> | |
<div class="kintoneplugin-alert"> | |
<p>このメッセージは注意書きです。</p> | |
</div> | |
<div class="kintoneplugin-row">設定項目の行</div> |